Re: [PATCH v2] sh: sh4a: Bring back tmu3_device early device

From: Geert Uytterhoeven
Date: Sat Jan 18 2020 - 04:36:40 EST


On Sat, Jan 18, 2020 at 9:14 AM Krzysztof Kozlowski <krzk@xxxxxxxxxx> wrote:
> Commit 1399c195ef50 ("sh: Switch to new style TMU device") converted
> tmu3_device platform device to new style of platform data but removed it
> from sh7786_early_devices array effectively removing last three timers
> and causing a warning:
>
> arch/sh/kernel/cpu/sh4a/setup-sh7786.c:243:31:
> warning: âtmu3_deviceâ defined but not used [-Wunused-variable]
>
> Fixes: 1399c195ef50 ("sh: Switch to new style TMU device")
> Signed-off-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>

Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Gr{oetje,eeting}s,

Geert


--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds