i8253: Export i8253_lock unconditionally
Thomas Gleixner [Thu, 9 Jun 2011 21:08:47 +0000 (23:08 +0200)]
We don't want to add endless selects and module ifdefs.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

drivers/clocksource/i8253.c

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