rtc: ds1685: fix ds1685_rtc_alarm_irq_enable build error
[linux-2.6-block.git] / drivers / rtc / rtc-ds1685.c
index 8c3bfcb115b787318d0ce942c07c655f79fc1cb7..5dc1ef9d0008ae5cc1326d782ced710cedb7a209 100644 (file)
@@ -528,7 +528,6 @@ ds1685_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm)
 /* ----------------------------------------------------------------------- */
 /* /dev/rtcX Interface functions */
 
-#ifdef CONFIG_RTC_INTF_DEV
 /**
  * ds1685_rtc_alarm_irq_enable - replaces ioctl() RTC_AIE on/off.
  * @dev: pointer to device structure.
@@ -557,7 +556,6 @@ ds1685_rtc_alarm_irq_enable(struct device *dev, unsigned int enabled)
 
        return 0;
 }
-#endif
 /* ----------------------------------------------------------------------- */