public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gpio/ep93xx: Add missing EP93XX_GPIO_PHYS_BASE define
@ 2011-06-10 16:08 H Hartley Sweeten
  2011-06-11  5:28 ` Grant Likely
  0 siblings, 1 reply; 2+ messages in thread
From: H Hartley Sweeten @ 2011-06-10 16:08 UTC (permalink / raw)
  To: Linux Kernel; +Cc: grant.likely, Ryan Mallon

The patch to convert of the ep93xx gpio driver to a platform_driver is
missing the define for the memory resource that is passed to the driver.

This is needed to prevent a build error.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Ryan Mallon <ryan@bluewatersys.com>

---

Grant, can you pick this up in your tree to prevent the build error?

diff --git a/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h b/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h
index 9ac4d10..c4a7b84 100644
--- a/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h
+++ b/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h
@@ -98,6 +98,7 @@
 
 #define EP93XX_SECURITY_BASE		EP93XX_APB_IOMEM(0x00030000)
 
+#define EP93XX_GPIO_PHYS_BASE		EP93XX_APB_PHYS(0x00040000)
 #define EP93XX_GPIO_BASE		EP93XX_APB_IOMEM(0x00040000)
 #define EP93XX_GPIO_REG(x)		(EP93XX_GPIO_BASE + (x))
 #define EP93XX_GPIO_F_INT_STATUS	EP93XX_GPIO_REG(0x5c)

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

* Re: [PATCH] gpio/ep93xx: Add missing EP93XX_GPIO_PHYS_BASE define
  2011-06-10 16:08 [PATCH] gpio/ep93xx: Add missing EP93XX_GPIO_PHYS_BASE define H Hartley Sweeten
@ 2011-06-11  5:28 ` Grant Likely
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Likely @ 2011-06-11  5:28 UTC (permalink / raw)
  To: H Hartley Sweeten; +Cc: Linux Kernel, Ryan Mallon

On Fri, Jun 10, 2011 at 09:08:17AM -0700, H Hartley Sweeten wrote:
> The patch to convert of the ep93xx gpio driver to a platform_driver is
> missing the define for the memory resource that is passed to the driver.
> 
> This is needed to prevent a build error.
> 
> Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
> Cc: Grant Likely <grant.likely@secretlab.ca>
> Cc: Ryan Mallon <ryan@bluewatersys.com>

Applied, thanks.

g.

> 
> ---
> 
> Grant, can you pick this up in your tree to prevent the build error?
> 
> diff --git a/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h b/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h
> index 9ac4d10..c4a7b84 100644
> --- a/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h
> +++ b/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h
> @@ -98,6 +98,7 @@
>  
>  #define EP93XX_SECURITY_BASE		EP93XX_APB_IOMEM(0x00030000)
>  
> +#define EP93XX_GPIO_PHYS_BASE		EP93XX_APB_PHYS(0x00040000)
>  #define EP93XX_GPIO_BASE		EP93XX_APB_IOMEM(0x00040000)
>  #define EP93XX_GPIO_REG(x)		(EP93XX_GPIO_BASE + (x))
>  #define EP93XX_GPIO_F_INT_STATUS	EP93XX_GPIO_REG(0x5c)

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

end of thread, other threads:[~2011-06-11  5:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-10 16:08 [PATCH] gpio/ep93xx: Add missing EP93XX_GPIO_PHYS_BASE define H Hartley Sweeten
2011-06-11  5:28 ` Grant Likely

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