Skip to contentSkip to conversation

DA8xx: kill duplicate #define DA8XX_GPIO_BASE

PATCH New Sergei Shtylyov 2 participants 2 messages Apr 6, 2011 – Apr 15, 2011

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

PATCH 1/3 DA8xx: kill duplicate #define DA8XX_GPIO_BASE

DA8XX_GPIO_BASE is #define'd in both <mach/da8xx.h> and devices-da8xx.c; moreover, it's not even used in the latter file...

---
The patch is against the recent DaVinci tree plus the fix that I've posted earlier today.

 arch/arm/mach-davinci/devices-da8xx.c |    1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-davinci/devices-da8xx.c +0 -1
Index: linux-davinci/arch/arm/mach-davinci/devices-da8xx.c
===================================================================
@@ -36,7 +36,6 @@
 #define DA8XX_EMAC_CPGMACSS_BASE	0x01e22000
 #define DA8XX_EMAC_CPGMAC_BASE		0x01e23000
 #define DA8XX_EMAC_MDIO_BASE		0x01e24000
-#define DA8XX_GPIO_BASE			0x01e26000
 #define DA8XX_I2C1_BASE			0x01e28000
 #define DA8XX_SPI0_BASE			0x01c41000
 #define DA830_SPI1_BASE			0x01e12000
#1 lore raw

PATCH 1/3 DA8xx: kill duplicate #define DA8XX_GPIO_BASE

Quoted 4 lines · Sergei Shtylyov

DA8XX_GPIO_BASE is #define'd in both <mach/da8xx.h> and devices-da8xx.c; moreover, it's not even used in the latter file...

Thanks Sergei for the clean-up. Will queue these three for the next merge window.

Thanks,
Sekhar