From: Graeme Smecher Date: Tue, 17 Aug 2010 17:13:44 +0000 (-0700) Subject: of: fix missing headers for of_address_to_resource() in MTD and SysACE drivers X-Git-Tag: v2.6.36-rc2~44^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a50d06e242614f02004faed2972a8f2c9336d61;p=platform%2Fkernel%2Flinux-3.10.git 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 Signed-off-by: Grant Likely --- diff --git a/drivers/block/xsysace.c b/drivers/block/xsysace.c index 2982b3e..057413b 100644 --- a/drivers/block/xsysace.c +++ b/drivers/block/xsysace.c @@ -94,6 +94,7 @@ #include #include #if defined(CONFIG_OF) +#include #include #include #endif diff --git a/drivers/mtd/maps/physmap_of.c b/drivers/mtd/maps/physmap_of.c index 00af55d..fe63f6b 100644 --- a/drivers/mtd/maps/physmap_of.c +++ b/drivers/mtd/maps/physmap_of.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include