summaryrefslogtreecommitdiff
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-06-10 01:08:47 +0400
committerThomas Gleixner <tglx@linutronix.de>2011-06-10 18:43:59 +0400
commit21f07f4f5718449c85c29827ff6fb0cf35a6c96e (patch)
treede565cd73c033ef25d5469e8409cfc58e4efd2ff /drivers/clocksource
parent8a118c3872945d54e0cacdea06c93527cdfb8782 (diff)
downloadlinux-21f07f4f5718449c85c29827ff6fb0cf35a6c96e.tar.xz
i8253: Export i8253_lock unconditionally
We don't want to add endless selects and module ifdefs. Reported-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/i8253.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/clocksource/i8253.c b/drivers/clocksource/i8253.c
index 39288c1dbd29..e594f52eb88e 100644
--- a/drivers/clocksource/i8253.c
+++ b/drivers/clocksource/i8253.c
@@ -16,9 +16,7 @@
* 0061-0061 : NMI Control Register which contains two speaker control bits.
*/
DEFINE_RAW_SPINLOCK(i8253_lock);
-#ifdef CONFIG_PCSPKR_PLATFORM
EXPORT_SYMBOL(i8253_lock);
-#endif
#ifdef CONFIG_CLKSRC_I8253
/*