Message ID | 20190403141120.32754-3-alexandre.belloni@bootlin.com |
---|---|
State | Deferred |
Headers | show |
Series | clocksource: improve Atmel TCB timer driver | expand |
diff --git a/drivers/misc/atmel_tclib.c b/drivers/misc/atmel_tclib.c index 194f774ab3a1..3af27ce7e514 100644 --- a/drivers/misc/atmel_tclib.c +++ b/drivers/misc/atmel_tclib.c @@ -17,18 +17,10 @@ * share individual timers between different drivers. */ -#if defined(CONFIG_AVR32) -/* AVR32 has these divide PBB */ -const u8 atmel_tc_divisors[5] = { 0, 4, 8, 16, 32, }; -EXPORT_SYMBOL(atmel_tc_divisors); - -#elif defined(CONFIG_ARCH_AT91) /* AT91 has these divide MCK */ const u8 atmel_tc_divisors[5] = { 2, 8, 32, 128, 0, }; EXPORT_SYMBOL(atmel_tc_divisors); -#endif - static DEFINE_SPINLOCK(tc_list_lock); static LIST_HEAD(tc_list);
AVR32 is gone from the kernel, remove its support from tclib. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> --- drivers/misc/atmel_tclib.c | 8 -------- 1 file changed, 8 deletions(-)