patch-2.3.6 linux/drivers/char/misc.c
Next file: linux/drivers/char/radio-cadet.c
Previous file: linux/drivers/char/bttv.h
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Wed Jun 9 14:44:25 1999
- Orig file:
v2.3.5/linux/drivers/char/misc.c
- Orig date:
Fri Mar 26 13:57:41 1999
diff -u --recursive --new-file v2.3.5/linux/drivers/char/misc.c linux/drivers/char/misc.c
@@ -76,6 +76,7 @@
extern void dtlk_init(void);
extern void pcwatchdog_init(void);
extern int rtc_init(void);
+extern int rtc_sun_init(void); /* Combines MK48T02 and MK48T08 */
extern int rtc_DP8570A_init(void);
extern int rtc_MK48T08_init(void);
extern int dsp56k_init(void);
@@ -247,7 +248,10 @@
#ifdef CONFIG_BVME6000
rtc_DP8570A_init();
#endif
-#if defined(CONFIG_RTC) || defined(CONFIG_SUN_MOSTEK_RTC)
+#if defined(CONFIG_SUN_MOSTEK_RTC)
+ rtc_sun_init();
+#endif
+#if defined(CONFIG_RTC)
rtc_init();
#endif
#ifdef CONFIG_ATARI_DSP56K
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)