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-Url: https://git.stricted.de/?a=commitdiff_plain;h=7a50d06e242614f02004faed2972a8f2c9336d61;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 2982b3ee9465..057413bb16e2 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 00af55d7afba..fe63f6bd663c 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