gpio/ep93xx: Add missing EP93XX_GPIO_PHYS_BASE define
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 10 Jun 2011 16:08:17 +0000 (09:08 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 11 Jun 2011 05:27:06 +0000 (23:27 -0600)
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>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h

index 9ac4d105509727ef7968fedd488a9f121f73a6b0..c4a7b84ef06da131481d8e673ed11e30067fa2ad 100644 (file)
@@ -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)