arm: sc8830: fix redefined macro warnings
[profile/mobile/platform/kernel/u-boot-tm1.git] / arch / arm / include / asm / arch-sc8830 / regs_adi.h
index f7d9be7..e2547af 100644 (file)
@@ -17,6 +17,9 @@
 
 #include <asm/arch/bits.h>
 #include <asm/arch/sprd_reg.h>
+#ifdef SPRD_ADI_BASE
+#undef SPRD_ADI_BASE
+#endif
 #define  SPRD_ADI_BASE         SPRD_MISC_PHYS  
 
 #define  ADI_CTL_REG            (SPRD_ADI_BASE + 0x4 )