diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2010-08-17 05:44:49 (GMT) |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-08-17 05:44:49 (GMT) |
commit | f1ca09b2b5c9dd3988c61818a7d621b1400e4f0c (patch) | |
tree | 2a54bbcc450aa1269fe33c30f6a9316e585939c3 /drivers/char/xilinx_hwicap/xilinx_hwicap.c | |
parent | 60652d07a028595df5c2582e915325d643a3800d (diff) | |
download | linux-fsl-qoriq-f1ca09b2b5c9dd3988c61818a7d621b1400e4f0c.tar.xz |
of: Fix missing includes
This patch fixes missing includes from a number of .c files because
the code (wrongfully) depended on prom.h including them. The include
of linux/of_address.h was removed in microblaze prom.h in commit
"of/address: Clean up function declarations" (sha1 id 22ae782f8), but
not fixed in some callers. This patch fixes them up.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Tested-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'drivers/char/xilinx_hwicap/xilinx_hwicap.c')
-rw-r--r-- | drivers/char/xilinx_hwicap/xilinx_hwicap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/xilinx_hwicap/xilinx_hwicap.c b/drivers/char/xilinx_hwicap/xilinx_hwicap.c index 0ed763c..b663d57 100644 --- a/drivers/char/xilinx_hwicap/xilinx_hwicap.c +++ b/drivers/char/xilinx_hwicap/xilinx_hwicap.c @@ -94,6 +94,7 @@ #ifdef CONFIG_OF /* For open firmware. */ +#include <linux/of_address.h> #include <linux/of_device.h> #include <linux/of_platform.h> #endif |