From: Thomas Gleixner Date: Thu, 9 Jun 2011 21:08:47 +0000 (+0200) Subject: i8253: Export i8253_lock unconditionally X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=21f07f4f5718449c85c29827ff6fb0cf35a6c96e;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git i8253: Export i8253_lock unconditionally We don't want to add endless selects and module ifdefs. Reported-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/drivers/clocksource/i8253.c b/drivers/clocksource/i8253.c index 39288c1dbd29..e594f52eb88e 100644 --- a/drivers/clocksource/i8253.c +++ b/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 /*