From: Michal Simek Date: Mon, 24 Sep 2012 07:01:30 +0000 (+0200) Subject: xilinx: rtc: Remove dummy rtc driver X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a488d0b989f824fed713914c41a629b8766599b1;p=thirdparty%2Fu-boot.git xilinx: rtc: Remove dummy rtc driver Signed-off-by: Michal Simek --- diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile index 1183c16f866..8316e8f2e42 100644 --- a/drivers/rtc/Makefile +++ b/drivers/rtc/Makefile @@ -71,7 +71,6 @@ COBJS-$(CONFIG_RTC_RX8025) += rx8025.o COBJS-$(CONFIG_RTC_S3C24X0) += s3c24x0_rtc.o COBJS-$(CONFIG_RTC_S3C44B0) += s3c44b0_rtc.o COBJS-$(CONFIG_RTC_X1205) += x1205.o -COBJS-$(CONFIG_RTC_XPSSRTC) += xpsrtc.o COBJS := $(sort $(COBJS-y)) SRCS := $(COBJS:.o=.c) diff --git a/drivers/rtc/xpsrtc.c b/drivers/rtc/xpsrtc.c deleted file mode 100644 index 8ba153a3a4b..00000000000 --- a/drivers/rtc/xpsrtc.c +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Another absolute-dummy "driver". - */ - -#include - -void rtc_reset(void) -{ - return; -} - -int rtc_get(struct rtc_time *t) -{ - t->tm_sec = 0; - t->tm_min = 0; - t->tm_hour = 0; - t->tm_mday = 0; - t->tm_mon = 0; - t->tm_year = 0; - t->tm_wday = 0; - t->tm_yday = 0; - t->tm_isdst = 0; - - return 0; -} - -int rtc_set(struct rtc_time *t) -{ - return 0; -}