CFI: Fix AMD Legacy sector protect
[oweals/u-boot.git] / drivers / rtc / ds174x.c
index eb3ca88fd65bf40ff562d6ce62a6677dc3d925e1..3f486b1b4d927582d3c69da1cdab41c31deded73 100644 (file)
@@ -33,7 +33,7 @@
 #include <command.h>
 #include <rtc.h>
 
-#if defined(CONFIG_RTC_DS174x) && defined(CONFIG_CMD_DATE)
+#if defined(CONFIG_CMD_DATE)
 
 static uchar rtc_read( unsigned int addr );
 static void  rtc_write( unsigned int addr, uchar val);