aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGraeme Smecher <graeme.smecher@mail.mcgill.ca>2010-08-17 10:13:44 -0700
committerGrant Likely <grant.likely@secretlab.ca>2010-08-17 13:16:47 -0600
commit7a50d06e242614f02004faed2972a8f2c9336d61 (patch)
tree0d06eb21f37796d937879256cac069f441e5a200
parentf1ca09b2b5c9dd3988c61818a7d621b1400e4f0c (diff)
downloadmrst-s0i3-test-7a50d06e242614f02004faed2972a8f2c9336d61.tar.gz
mrst-s0i3-test-7a50d06e242614f02004faed2972a8f2c9336d61.tar.xz
mrst-s0i3-test-7a50d06e242614f02004faed2972a8f2c9336d61.zip
of: fix missing headers for of_address_to_resource() in MTD and SysACE drivers
The drivers for Xilinx' SystemACE and physically mapped MTDs were missing prototypes for of_address_to_resource(). This patch adds the necessary headers. Signed-off-by: Graeme Smecher <graeme.smecher@mail.mcgill.ca> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
-rw-r--r--drivers/block/xsysace.c1
-rw-r--r--drivers/mtd/maps/physmap_of.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/block/xsysace.c b/drivers/block/xsysace.c
index 2982b3ee946..057413bb16e 100644
--- a/drivers/block/xsysace.c
+++ b/drivers/block/xsysace.c
@@ -94,6 +94,7 @@
#include <linux/hdreg.h>
#include <linux/platform_device.h>
#if defined(CONFIG_OF)
+#include <linux/of_address.h>
#include <linux/of_device.h>
#include <linux/of_platform.h>
#endif
diff --git a/drivers/mtd/maps/physmap_of.c b/drivers/mtd/maps/physmap_of.c
index 00af55d7afb..fe63f6bd663 100644
--- a/drivers/mtd/maps/physmap_of.c
+++ b/drivers/mtd/maps/physmap_of.c
@@ -22,6 +22,7 @@
#include <linux/mtd/partitions.h>
#include <linux/mtd/concat.h>
#include <linux/of.h>
+#include <linux/of_address.h>
#include <linux/of_platform.h>
#include <linux/slab.h>