summaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-05-27 22:53:41 +0200
committerRich Felker <dalias@libc.org>2020-06-01 14:48:46 -0400
commit01a4dc0d8dee90d156c6af6a0d970f5a8767a90f (patch)
tree01e074a2ec4219dc68e7d07ea396cc168d679b33 /arch/sh
parent3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162 (diff)
sh: sh4a: Bring back tmu3_device early device
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@kernel.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/kernel/cpu/sh4a/setup-sh7786.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7786.c b/arch/sh/kernel/cpu/sh4a/setup-sh7786.c
index 4b0db8259e3d..74620f30b19b 100644
--- a/arch/sh/kernel/cpu/sh4a/setup-sh7786.c
+++ b/arch/sh/kernel/cpu/sh4a/setup-sh7786.c
@@ -391,6 +391,7 @@ static struct platform_device *sh7786_early_devices[] __initdata = {
&tmu0_device,
&tmu1_device,
&tmu2_device,
+ &tmu3_device,
};
static struct platform_device *sh7786_devices[] __initdata = {