summaryrefslogtreecommitdiffstats
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
parent8e1b5adfbee97a187d3e7188a0b248619b76682e (diff)
downloadop-kernel-dev-609d414437ba2501bb9ca47a051da8871268cfa2.zip
op-kernel-dev-609d414437ba2501bb9ca47a051da8871268cfa2.tar.gz
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>
-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 e594f52..39288c1 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
/*
OpenPOWER on IntegriCloud