arm: sc8830: fix redefined macro warnings
[profile/mobile/platform/kernel/u-boot-tm1.git] / arch / arm / include / asm / arch-sc8830 / gpio_reg_v0.h
index fe14904..87bea2f 100644 (file)
@@ -29,7 +29,13 @@ extern   "C"
 /**---------------------------------------------------------------------------*
 **                               Micro Define                                **
 **---------------------------------------------------------------------------*/
+#ifdef ANA_GPIO_BASE
+#undef ANA_GPIO_BASE
+#endif
 #define ANA_GPIO_BASE                           SPRD_ANA_GPIO_PHYS
+#ifdef GPIO_BASE
+#undef GPIO_BASE
+#endif
 #define GPIO_BASE                               SPRD_GPIO_PHYS
 //GPIO_OFFSET
 #define GPIO_DATA                               0x0000    //GPIO data register