i8253: Remove I8253_LOCK config
authorThomas Gleixner <tglx@linutronix.de>
Fri, 3 Jun 2011 15:44:16 +0000 (17:44 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 9 Jun 2011 13:01:39 +0000 (15:01 +0200)
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>
drivers/clocksource/i8253.c

index e594f52..39288c1 100644 (file)
@@ -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
 /*