From 19c742f16d379fc8d2c8b4927e94722f0557a9f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20B=C3=BCsch?= Date: Tue, 19 Feb 2008 01:32:06 +0000 Subject: ssb: Workaround: Need subsys_initcall to be able to register a PCI bus. This needs a different fix, but use this workaround for now. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10491 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../brcm47xx/patches-2.6.23/620-ssb-modinit-fix.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 target/linux/brcm47xx/patches-2.6.23/620-ssb-modinit-fix.patch (limited to 'target/linux/brcm47xx/patches-2.6.23/620-ssb-modinit-fix.patch') diff --git a/target/linux/brcm47xx/patches-2.6.23/620-ssb-modinit-fix.patch b/target/linux/brcm47xx/patches-2.6.23/620-ssb-modinit-fix.patch new file mode 100644 index 0000000000..0fb00f1036 --- /dev/null +++ b/target/linux/brcm47xx/patches-2.6.23/620-ssb-modinit-fix.patch @@ -0,0 +1,15 @@ +Index: linux-2.6.23.16/drivers/ssb/main.c +=================================================================== +--- linux-2.6.23.16.orig/drivers/ssb/main.c 2008-02-19 02:24:48.000000000 +0100 ++++ linux-2.6.23.16/drivers/ssb/main.c 2008-02-19 02:27:59.000000000 +0100 +@@ -1164,7 +1164,9 @@ static int __init ssb_modinit(void) + /* ssb must be initialized after PCI but before the ssb drivers. + * That means we must use some initcall between subsys_initcall + * and device_initcall. */ +-fs_initcall(ssb_modinit); ++//FIXME on embedded we need to be early to make sure we can register ++// a new PCI bus, if needed. ++subsys_initcall(ssb_modinit); + + static void __exit ssb_modexit(void) + { -- cgit v1.2.3