Commit 609d4144 authored by Thomas Gleixner's avatar Thomas Gleixner

i8253: Remove I8253_LOCK config

Now that all extra ifdeffed implementations are gone, depend the lock
export on PCSPKR_PLATFORM
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Russell King <linux@arm.linux.org.uk>
parent 8e1b5adf
...@@ -16,7 +16,9 @@ ...@@ -16,7 +16,9 @@
* 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
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment