ep93xx: remove old EP93XX_GPIO_* defines
PATCH 1/1 ep93xx: remove old EP93XX_GPIO_* defines
Most of the EP93XX_GPIO_*_INT_* register defines in ep93xx-regs.h not required due to how the ep93xx core and gpiolib support handle gpio interrupts. Remove the defines to prevent future confusion.
Signed-off-by H Hartley Sweeten <[email protected]>
Cc Ryan Mallon <[email protected]>
---
arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h +0 -12
@@ -114,20 +114,8 @@#define EP93XX_GPIO_BASE EP93XX_APB_IOMEM(0x00040000)#define EP93XX_GPIO_REG (x) (EP93XX_GPIO_BASE + (x)) -#define EP93XX_GPIO_F_INT_TYPE1 EP93XX_GPIO_REG(0x4c) -#define EP93XX_GPIO_F_INT_TYPE2 EP93XX_GPIO_REG(0x50) -#define EP93XX_GPIO_F_INT_ACK EP93XX_GPIO_REG(0x54) -#define EP93XX_GPIO_F_INT_ENABLE EP93XX_GPIO_REG(0x58)#define EP93XX_GPIO_F_INT_STATUS EP93XX_GPIO_REG(0x5c) -#define EP93XX_GPIO_A_INT_TYPE1 EP93XX_GPIO_REG(0x90) -#define EP93XX_GPIO_A_INT_TYPE2 EP93XX_GPIO_REG(0x94) -#define EP93XX_GPIO_A_INT_ACK EP93XX_GPIO_REG(0x98) -#define EP93XX_GPIO_A_INT_ENABLE EP93XX_GPIO_REG(0x9c)#define EP93XX_GPIO_A_INT_STATUS EP93XX_GPIO_REG(0xa0) -#define EP93XX_GPIO_B_INT_TYPE1 EP93XX_GPIO_REG(0xac) -#define EP93XX_GPIO_B_INT_TYPE2 EP93XX_GPIO_REG(0xb0) -#define EP93XX_GPIO_B_INT_ACK EP93XX_GPIO_REG(0xb4) -#define EP93XX_GPIO_B_INT_ENABLE EP93XX_GPIO_REG(0xb8)#define EP93XX_GPIO_B_INT_STATUS EP93XX_GPIO_REG(0xbc)#define EP93XX_AAC_BASE EP93XX_APB_IOMEM(0x00080000)
PATCH 1/1 ep93xx: remove old EP93XX_GPIO_* defines
Quoted 6 lines · H Hartley Sweeten
Most of the EP93XX_GPIO_*_INT_* register defines in
ep93xx-regs.hnot required due to how the ep93xx core and gpiolib support handle gpio interrupts. Remove the defines to prevent future confusion.Signed-off-by H Hartley Sweeten <[email protected]>Cc Ryan Mallon <[email protected]>
Acked-by Ryan Mallon <[email protected]>
Signature · 7 lines
Bluewater Systems Ltd - ARM Technology Solution Centre Ryan Mallon 5 Amuri Park, 404 Barbadoes St ryan at bluewatersys.com PO Box 13 889, Christchurch 8013 http://www.bluewatersys.com New Zealand Phone: +64 3 3779127 Freecall: Australia 1800 148 751 Fax: +64 3 3779135 USA 1800 261 2934