|
@@ -40,12 +40,14 @@
|
|
*/
|
|
*/
|
|
struct sys_timer *system_timer;
|
|
struct sys_timer *system_timer;
|
|
|
|
|
|
|
|
+#if defined(CONFIG_RTC_DRV_CMOS) || defined(CONFIG_RTC_DRV_CMOS_MODULE)
|
|
/* this needs a better home */
|
|
/* this needs a better home */
|
|
DEFINE_SPINLOCK(rtc_lock);
|
|
DEFINE_SPINLOCK(rtc_lock);
|
|
|
|
|
|
-#ifdef CONFIG_SA1100_RTC_MODULE
|
|
|
|
|
|
+#ifdef CONFIG_RTC_DRV_CMOS_MODULE
|
|
EXPORT_SYMBOL(rtc_lock);
|
|
EXPORT_SYMBOL(rtc_lock);
|
|
#endif
|
|
#endif
|
|
|
|
+#endif /* pc-style 'CMOS' RTC support */
|
|
|
|
|
|
/* change this if you have some constant time drift */
|
|
/* change this if you have some constant time drift */
|
|
#define USECS_PER_JIFFY (1000000/HZ)
|
|
#define USECS_PER_JIFFY (1000000/HZ)
|