MIPS: ralink: mt7621: Fix soc_device introduction
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sat, 28 Mar 2020 10:27:13 +0000 (11:27 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sat, 28 Mar 2020 16:26:36 +0000 (17:26 +0100)
commitf75410a406e934e4cf31e0a7ec151799a6bf38cf
tree68ad32a2a58c63150dbe220e8038f64ab3c75570
parentaebdc6ff3b2e79327d8eff7c0e2d835bb1d3221f
MIPS: ralink: mt7621: Fix soc_device introduction

Depending on selected SMP config options soc_device didn't get
initialised at all. With UP config vmlinux didn't link because
of missing soc bus.

Fixes: 71b9b5e0130d ("MIPS: ralink: mt7621: introduce 'soc_device' initialization")
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Tested-by: René van Dorst <opensource@vdorst.com>
arch/mips/ralink/Kconfig
arch/mips/ralink/mt7621.c