Skip to content

Commit

Permalink
i8253: Remove I8253_LOCK config
Browse files Browse the repository at this point in the history
Now that all extra ifdeffed implementations are gone, depend the lock
export on PCSPKR_PLATFORM

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Russell King <linux@arm.linux.org.uk>
  • Loading branch information
Thomas Gleixner committed Jun 9, 2011
1 parent 8e1b5ad commit 609d414
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/clocksource/i8253.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
/*
Expand Down

0 comments on commit 609d414

Please sign in to comment.