Re: [PATCH v4 2/2] clocksource: add J-Core timer/clocksource driver

From: Arnd Bergmann
Date: Wed Jul 27 2016 - 04:00:09 EST


On Wednesday, July 27, 2016 5:35:09 AM CEST Rich Felker wrote:
> +
> +static void __init jcore_pit_init(struct device_node *node)
> +{
> + int err;
> + __iomem void *pit_base;
> + unsigned pit_irq;
> + unsigned cpu;
> + struct jcore_pit_nb *nb = 0;
> + struct jcore_clocksource *cs = 0;
> + struct jcore_pit __percpu *pit_percpu = 0;
>

This no longer applies, as the return type of the init function is
now 'int', not 'void'.

Arnd