]> git.baikalelectronics.ru Git - kernel.git/commit
sh: sh4a: Bring back tmu3_device early device
authorKrzysztof Kozlowski <krzk@kernel.org>
Wed, 27 May 2020 20:53:41 +0000 (22:53 +0200)
committerRich Felker <dalias@libc.org>
Mon, 1 Jun 2020 18:48:46 +0000 (14:48 -0400)
commit4ba2dcdd54d68923d7e1850054b180ce81699f63
tree01e074a2ec4219dc68e7d07ea396cc168d679b33
parent1d9eba4def0400011c61f60ce3444718b44c8bbf
sh: sh4a: Bring back tmu3_device early device

Commit 27ea2f58287e ("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: 27ea2f58287e ("sh: Switch to new style TMU device")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/kernel/cpu/sh4a/setup-sh7786.c