arm: sc8830: fix redefined macro warnings
[profile/mobile/platform/kernel/u-boot-tm1.git] / arch / arm / include / asm / arch-sc8830 / watchdog_reg_v3.h
index 7d70738..7497326 100644 (file)
@@ -30,6 +30,9 @@ extern   "C"
 /*----------Watchdog Timer Counter Register----------*/
 #include "sprd_reg.h"
 
+#ifdef WDG_BASE
+#undef WDG_BASE
+#endif
 #define WDG_BASE            (SPRD_ANA_WDG_PHYS)
 #define WDG_LOAD_LOW        (WDG_BASE + 0x00)
 #define WDG_LOAD_HIGH       (WDG_BASE + 0x04)