mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Include missing headers for of_address_to_resource() in MTD and SysACE drivers
@ 2010-08-17 17:13 Graeme Smecher
  2010-08-17 19:17 ` Grant Likely
  0 siblings, 1 reply; 2+ messages in thread
From: Graeme Smecher @ 2010-08-17 17:13 UTC (permalink / raw)
  To: grant.likely, linux-kernel; +Cc: Graeme Smecher

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>
---
 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@secretlab.ca>");
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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Include missing headers for of_address_to_resource() in MTD and SysACE drivers
  2010-08-17 17:13 [PATCH] Include missing headers for of_address_to_resource() in MTD and SysACE drivers Graeme Smecher
@ 2010-08-17 19:17 ` Grant Likely
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Likely @ 2010-08-17 19:17 UTC (permalink / raw)
  To: Graeme Smecher; +Cc: linux-kernel

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@mail.mcgill.ca>

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@secretlab.ca>");
> 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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-17 19:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-17 17:13 [PATCH] Include missing headers for of_address_to_resource() in MTD and SysACE drivers Graeme Smecher
2010-08-17 19:17 ` Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®