Revert "clocksource/drivers/timer-atmel-st: Add the COMPILE_TEST option"
PATCH 1/1 Revert "clocksource/drivers/timer-atmel-st: Add the COMPILE_TEST option"
This reverts commit 7011a4947ca61cd28a8c025b39c98861687e4fb6.
When trying to build parisc:allmodconfig:
drivers/clocksource/timer-atmel-st.c: In function 'at91rm9200_timer_interrupt':drivers/clocksource/timer-atmel-st.c:76:3: error:
invalid use of undefined type 'struct clock_event_device'
--- drivers/clocksource/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/clocksource/Kconfig +1 -3
@@ -335,11 +335,9 @@ config ATMEL_PIT def_bool SOC_AT91SAM9 || SOC_SAMA5 config ATMEL_ST - bool "Atmel ST timer support" if COMPILE_TEST + bool select CLKSRC_OF select MFD_SYSCON - help - Support for the Atmel ST timer. config CLKSRC_METAG_GENERIC def_bool y if METAG
Signature · 1 line
2.5.0
Quoted 11 lines · Guenter Roeck
This reverts commit
7011a4947ca61cd28a8c025b39c98861687e4fb6.When trying to build parisc:allmodconfig:
drivers/clocksource/timer-atmel-st.c: In function 'at91rm9200_timer_interrupt':drivers/clocksource/timer-atmel-st.c:76:3: error:
invalid use of undefined type 'structclock_event_device'Cc Daniel Lezcano <[email protected]>Signed-off-by Guenter Roeck <[email protected]>---
Thanks for reporting the issue. I fixed this issue by adding
+depends on GENERIC_CLOCKEVENTS
instead of reverting the patch.
-- Daniel
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog