summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/i8253.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-06-03 17:44:16 +0200
committerThomas Gleixner <tglx@linutronix.de>2011-06-09 15:01:39 +0200
commit609d414437ba2501bb9ca47a051da8871268cfa2 (patch)
tree954ba3442ab1509235aa857b01ed35aa87810f6e /drivers/clocksource/i8253.c
parenti8253: Make pcsp sound driver use the shared i8253_lock (diff)
downloadlinux-609d414437ba2501bb9ca47a051da8871268cfa2.tar.xz
linux-609d414437ba2501bb9ca47a051da8871268cfa2.zip
i8253: Remove I8253_LOCK config
Now that all extra ifdeffed implementations are gone, depend the lock export on PCSPKR_PLATFORM Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Russell King <linux@arm.linux.org.uk>
Diffstat (limited to 'drivers/clocksource/i8253.c')
-rw-r--r--drivers/clocksource/i8253.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clocksource/i8253.c b/drivers/clocksource/i8253.c
index e594f52eb88e..39288c1dbd29 100644
--- a/drivers/clocksource/i8253.c
+++ b/drivers/clocksource/i8253.c
@@ -16,7 +16,9 @@
* 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
/*