Re: [PATCH] Include missing headers for of_address_to_resource()in MTD and SysACE drivers

From: Grant Likely
Date: Tue Aug 17 2010 - 15:19:13 EST


On Tue, Aug 17, 2010 at 10:13:44AM -0700, Graeme Smecher wrote:
> 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@xxxxxxxxxxxxxx>

merged, thanks.

g.

> ---
> drivers/block/xsysace.c | 1 +
> drivers/mtd/maps/physmap_of.c | 1 +
> 2 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/block/xsysace.c b/drivers/block/xsysace.c
> index 2982b3e..fa71ba5 100644
> --- a/drivers/block/xsysace.c
> +++ b/drivers/block/xsysace.c
> @@ -96,6 +96,7 @@
> #if defined(CONFIG_OF)
> #include <linux/of_device.h>
> #include <linux/of_platform.h>
> +#include <linux/of_address.h>
> #endif
>
> MODULE_AUTHOR("Grant Likely <grant.likely@xxxxxxxxxxxx>");
> diff --git a/drivers/mtd/maps/physmap_of.c b/drivers/mtd/maps/physmap_of.c
> index 00af55d..07b13e8 100644
> --- a/drivers/mtd/maps/physmap_of.c
> +++ b/drivers/mtd/maps/physmap_of.c
> @@ -23,6 +23,7 @@
> #include <linux/mtd/concat.h>
> #include <linux/of.h>
> #include <linux/of_platform.h>
> +#include <linux/of_address.h>
> #include <linux/slab.h>
>
> struct of_flash_list {
> --
> 1.7.1
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/