Skip to content

Commit

Permalink
gpio/ep93xx: Add missing EP93XX_GPIO_PHYS_BASE define
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H Hartley Sweeten authored and Grant Likely committed Jun 11, 2011
1 parent ab1c847 commit b57e3c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b57e3c2

Please sign in to comment.