[PATCH 01/11] clocksource: at91: Add DT compatibility table

Sam Ravnborg sam at ravnborg.org
Wed Mar 15 13:33:13 PDT 2017


On Tue, Mar 14, 2017 at 08:52:12AM -0700, Andrey Smirnov wrote:
> Signed-off-by: Andrey Smirnov <andrew.smirnov at gmail.com>
> ---
>  drivers/clocksource/timer-atmel-pit.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/drivers/clocksource/timer-atmel-pit.c b/drivers/clocksource/timer-atmel-pit.c
> index cc7ad2f..d59efa6 100644
> --- a/drivers/clocksource/timer-atmel-pit.c
> +++ b/drivers/clocksource/timer-atmel-pit.c
> @@ -102,9 +102,18 @@ static int at91_pit_probe(struct device_d *dev)
>  	return init_clock(&cs);
>  }
>  
> +static __maybe_unused struct of_device_id at91_pit_dt_ids[] = {

should this be const?

	Sam



More information about the barebox mailing list