Commit 99ce39e3 authored by Grant Likely's avatar Grant Likely

dt: include linux/errno.h in linux/of_address.h

of_address.h makes reference to some of the error code #defines, so it
needs to include errno.h.  If CONFIG_PCI is not selected, then some files
will fail to compile.
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 90e33f62
#ifndef __OF_ADDRESS_H
#define __OF_ADDRESS_H
#include <linux/ioport.h>
#include <linux/errno.h>
#include <linux/of.h>
extern u64 of_translate_address(struct device_node *np, const __be32 *addr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment