i8253: Export i8253_lock unconditionally
authorThomas Gleixner <tglx@linutronix.de>
Thu, 9 Jun 2011 21:08:47 +0000 (23:08 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 10 Jun 2011 14:43:59 +0000 (16:43 +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
 /*