From: Thomas Gleixner Date: Fri, 3 Jun 2011 15:44:16 +0000 (+0200) Subject: i8253: Remove I8253_LOCK config X-Git-Tag: upstream/snapshot3+hdmi~9605^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=609d414437ba2501bb9ca47a051da8871268cfa2;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 e594f52..39288c1 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 /*