From: Felix Fietkau Date: Tue, 10 Jan 2006 15:31:51 +0000 (+0000) Subject: fix sbh symbol export for switch drivers on brcm-2.4 X-Git-Tag: reboot~31325 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bcf256e11bda1fa24bac30ba92fdcfba55d692d7;p=openwrt%2Fstaging%2Fnoltari.git fix sbh symbol export for switch drivers on brcm-2.4 SVN-Revision: 2873 --- diff --git a/openwrt/target/linux/linux-2.4/patches/brcm/001-bcm47xx.patch b/openwrt/target/linux/linux-2.4/patches/brcm/001-bcm47xx.patch index f682233073..e616893e9e 100644 --- a/openwrt/target/linux/linux-2.4/patches/brcm/001-bcm47xx.patch +++ b/openwrt/target/linux/linux-2.4/patches/brcm/001-bcm47xx.patch @@ -13442,7 +13442,7 @@ diff -Nur linux-2.4.32/arch/mips/bcm947xx/sbpci.c linux-2.4.32-brcm/arch/mips/bc diff -Nur linux-2.4.32/arch/mips/bcm947xx/setup.c linux-2.4.32-brcm/arch/mips/bcm947xx/setup.c --- linux-2.4.32/arch/mips/bcm947xx/setup.c 1970-01-01 01:00:00.000000000 +0100 +++ linux-2.4.32-brcm/arch/mips/bcm947xx/setup.c 2005-12-20 00:29:40.187416500 +0100 -@@ -0,0 +1,232 @@ +@@ -0,0 +1,234 @@ +/* + * Generic setup routines for Broadcom MIPS boards + * @@ -13482,6 +13482,7 @@ diff -Nur linux-2.4.32/arch/mips/bcm947xx/setup.c linux-2.4.32-brcm/arch/mips/bc +#include +#include +#include ++#include +#include +#include +#include @@ -13675,6 +13676,7 @@ diff -Nur linux-2.4.32/arch/mips/bcm947xx/setup.c linux-2.4.32-brcm/arch/mips/bc +{ +} + ++EXPORT_SYMBOL(bcm947xx_sbh); diff -Nur linux-2.4.32/arch/mips/bcm947xx/sflash.c linux-2.4.32-brcm/arch/mips/bcm947xx/sflash.c --- linux-2.4.32/arch/mips/bcm947xx/sflash.c 1970-01-01 01:00:00.000000000 +0100 +++ linux-2.4.32-brcm/arch/mips/bcm947xx/sflash.c 2005-12-16 23:39:10.948837000 +0100