diff options
author | David Brownell <david-b@pacbell.net> | 2007-01-17 16:11:27 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-02-16 14:17:44 -0500 |
commit | 9dd34948aaf631610355891a70cc55408eae840e (patch) | |
tree | 89f13c7aab97b5c92690f8407f0c03c3ebd0049d /arch | |
parent | c587e4a6a4d808fd2a1c4e7fb2d5a3a31e300d23 (diff) |
[ARM] 4098/1: ARM: rtc_lock only used with rtc_cmos
Fix build glitches on ARM ... the only user of "rtc_lock" today is the
optional PC-style "CMOS" RTC driver, the legacy SA1100 RTC driver is
not even in the tree any more.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/kernel/time.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/kernel/time.c b/arch/arm/kernel/time.c index 3c8cdcfe8d4a..3825acd6687d 100644 --- a/arch/arm/kernel/time.c +++ b/arch/arm/kernel/time.c | |||
@@ -40,12 +40,14 @@ | |||
40 | */ | 40 | */ |
41 | struct sys_timer *system_timer; | 41 | struct sys_timer *system_timer; |
42 | 42 | ||
43 | #if defined(CONFIG_RTC_DRV_CMOS) || defined(CONFIG_RTC_DRV_CMOS_MODULE) | ||
43 | /* this needs a better home */ | 44 | /* this needs a better home */ |
44 | DEFINE_SPINLOCK(rtc_lock); | 45 | DEFINE_SPINLOCK(rtc_lock); |
45 | 46 | ||
46 | #ifdef CONFIG_SA1100_RTC_MODULE | 47 | #ifdef CONFIG_RTC_DRV_CMOS_MODULE |
47 | EXPORT_SYMBOL(rtc_lock); | 48 | EXPORT_SYMBOL(rtc_lock); |
48 | #endif | 49 | #endif |
50 | #endif /* pc-style 'CMOS' RTC support */ | ||
49 | 51 | ||
50 | /* change this if you have some constant time drift */ | 52 | /* change this if you have some constant time drift */ |
51 | #define USECS_PER_JIFFY (1000000/HZ) | 53 | #define USECS_PER_JIFFY (1000000/HZ) |