mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-18 13:04:18 +00:00
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: 71b9b5e013
("MIPS: ralink: mt7621: introduce 'soc_device' initialization")
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Tested-by: René van Dorst <opensource@vdorst.com>
This commit is contained in:
parent
aebdc6ff3b
commit
f75410a406
2 changed files with 3 additions and 2 deletions
|
@ -52,6 +52,7 @@ choice
|
|||
select COMMON_CLK
|
||||
select CLKSRC_MIPS_GIC
|
||||
select HAVE_PCI if PCI_MT7621
|
||||
select SOC_BUS
|
||||
endchoice
|
||||
|
||||
choice
|
||||
|
|
|
@ -243,12 +243,12 @@ void prom_soc_init(struct ralink_soc_info *soc_info)
|
|||
|
||||
rt2880_pinmux_data = mt7621_pinmux_data;
|
||||
|
||||
soc_dev_init(soc_info, rev);
|
||||
|
||||
if (!register_cps_smp_ops())
|
||||
return;
|
||||
if (!register_cmp_smp_ops())
|
||||
return;
|
||||
if (!register_vsmp_smp_ops())
|
||||
return;
|
||||
|
||||
soc_dev_init(soc_info, rev);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue