aboutsummaryrefslogtreecommitdiff
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorThomas Gleixner2011-06-03 17:44:16 +0200
committerThomas Gleixner2011-06-09 15:01:39 +0200
commit609d414437ba2501bb9ca47a051da8871268cfa2 (patch)
tree954ba3442ab1509235aa857b01ed35aa87810f6e /drivers/clocksource
parent8e1b5adfbee97a187d3e7188a0b248619b76682e (diff)
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')
-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
/*