i8253: Export i8253_lock unconditionally

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>
This commit is contained in:
Thomas Gleixner 2011-06-09 23:08:47 +02:00
parent 8a118c3872
commit 21f07f4f57

View File

@ -16,9 +16,7 @@
* 0061-0061 : NMI Control Register which contains two speaker control bits. * 0061-0061 : NMI Control Register which contains two speaker control bits.
*/ */
DEFINE_RAW_SPINLOCK(i8253_lock); DEFINE_RAW_SPINLOCK(i8253_lock);
#ifdef CONFIG_PCSPKR_PLATFORM
EXPORT_SYMBOL(i8253_lock); EXPORT_SYMBOL(i8253_lock);
#endif
#ifdef CONFIG_CLKSRC_I8253 #ifdef CONFIG_CLKSRC_I8253
/* /*