Re: [PATCH -next] Revert "clocksource/drivers/timer-atmel-st: Add the COMPILE_TEST option"

From: Daniel Lezcano
Date: Thu Jun 16 2016 - 08:17:45 EST


On 06/15/2016 06:01 AM, Guenter Roeck wrote:
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'

Cc: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
---

Thanks for reporting the issue. I fixed this issue by adding

+depends on GENERIC_CLOCKEVENTS

instead of reverting the patch.

-- Daniel

--
<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