diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2016-08-23 21:39:43 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-09-19 17:35:44 +0200 |
commit | 8074d7829595b7c86beba914c04ed5839cf4b3d6 (patch) | |
tree | a821f73c6e9561ef7ed1c47d6d83342c61823e66 /kernel/module.c | |
parent | 3312eca519ba3b68b1966705e27b9dd9134f092c (diff) | |
download | lwn-8074d7829595b7c86beba914c04ed5839cf4b3d6.tar.gz lwn-8074d7829595b7c86beba914c04ed5839cf4b3d6.zip |
MIPS: Octeon: Fix platform bus probing
Commit 44a7185c2ae6 ("of/platform: Add common method to populate
default bus") added new arch_initcall of_platform_default_populate_init()
that will override device_initcall octeon_publish_devices(). This broke
many OCTEON boards as important devices are not getting probed anymore
(e.g. on EdgeRouter Lite the USB mass storage/rootfs is missing).
Fix by changing octeon_publish_devices() to arch_initcall.
Fixes: 44a7185c2ae6 ("of/platform: Add common method to populate default bus")
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Acked-by: Rob Herring <robh@kernel.org>
Cc: David Daney <ddaney@caviumnetworks.com>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14041/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions