From: Thomas Gleixner Date: Fri, 3 Jun 2011 15:44:16 +0000 (+0200) Subject: i8253: Remove I8253_LOCK config X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=609d414437ba2501bb9ca47a051da8871268cfa2;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git i8253: Remove I8253_LOCK config Now that all extra ifdeffed implementations are gone, depend the lock export on PCSPKR_PLATFORM Signed-off-by: Thomas Gleixner Cc: Ralf Baechle Cc: Russell King --- diff --git a/drivers/clocksource/i8253.c b/drivers/clocksource/i8253.c index e594f52eb88e..39288c1dbd29 100644 --- a/drivers/clocksource/i8253.c +++ b/drivers/clocksource/i8253.c @@ -16,7 +16,9 @@ * 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 /*