CFI: Fix AMD Legacy sector protect
[oweals/u-boot.git] / drivers / rtc / m48t35ax.c
index be29279d0336e3058864c62d4ef27ebbd96a59e9..353a30e1f28138e36ecd350a1ff386f6510c039b 100644 (file)
@@ -33,7 +33,7 @@
 #include <rtc.h>
 #include <config.h>
 
-#if defined(CONFIG_RTC_M48T35A) && defined(CONFIG_CMD_DATE)
+#if defined(CONFIG_CMD_DATE)
 
 static uchar rtc_read  (uchar reg);
 static void  rtc_write (uchar reg, uchar val);