x86: ivybridge: Add additional LPC init
[oweals/u-boot.git] / drivers / rtc / bfin_rtc.c
index 21a2189e2753b8d2fffceecc41a5e3c2b4c780e6..4cf2d834b219683c1839a4d51a79f5b71641657b 100644 (file)
@@ -27,7 +27,7 @@
 #define NUM_SECS_IN_DAY   DAYS_TO_SECS(1)
 
 /* Enable the RTC prescaler enable register */
-static void rtc_init(void)
+void rtc_init(void)
 {
        if (!(bfin_read_RTC_PREN() & 0x1))
                bfin_write_RTC_PREN(0x1);