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 e594f52eb88ecb1eb87c80aacf35d6be8a5560ed..39288c1dbd29000e84746d9a45e98e88c76e3042 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
 /*