Skip to contentSkip to conversation

gpio/ep93xx: Add missing EP93XX_GPIO_PHYS_BASE define

PATCH Applied H Hartley Sweeten 2 participants 2 messages Jun 10, 2011 – Jun 11, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio/ep93xx: Add missing EP93XX_GPIO_PHYS_BASE define

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.

---

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

arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h +1 -0
index 9ac4d10..c4a7b84 100644
@@ -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)
Applied
#1 lore raw
Quoted 8 lines · H Hartley Sweeten

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.

Applied, thanks.

g.

Quoted 17 lines

---

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

arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h +1 -0
index 9ac4d10..c4a7b84 100644
@@ -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)