Эх сурвалжийг харах

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>
Thomas Gleixner 14 жил өмнө
parent
commit
21f07f4f57

+ 0 - 2
drivers/clocksource/i8253.c

@@ -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
 /*