ds1302: move to platform_rtc_ naming
authorAlan Cox <alan@linux.intel.com>
Mon, 9 Apr 2018 20:37:22 +0000 (21:37 +0100)
committerAlan Cox <alan@linux.intel.com>
Mon, 9 Apr 2018 20:37:22 +0000 (21:37 +0100)
Kernel/dev/ds1302.c

index b400987..35c1813 100644 (file)
@@ -77,7 +77,7 @@ void ds1302_read_clock(uint8_t *buffer, uint8_t length)
 }
 
 /* define CONFIG_RTC in platform's config.h to hook this into timer.c */
-uint8_t rtc_secs(void)
+uint8_t platform_rtc_secs(void)
 {
     uint8_t buffer;
     ds1302_read_clock(&buffer, 1);   /* read out only the seconds value */