Skip to content

Commit

Permalink
dt: include linux/errno.h in linux/of_address.h
Browse files Browse the repository at this point in the history
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: Grant Likely <grant.likely@secretlab.ca>
  • Loading branch information
Grant Likely committed Jul 18, 2011
1 parent 90e33f6 commit 99ce39e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/of_address.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#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);
Expand Down

0 comments on commit 99ce39e

Please sign in to comment.