From cc4bda886e924b8e4a334dcb7289faaa94a28ed5 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 10 Jan 2006 15:31:51 +0000 Subject: fix sbh symbol export for switch drivers on brcm-2.4 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2873 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/target/linux/linux-2.4/patches/brcm/001-bcm47xx.patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 f68223307..e616893e9 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 -- cgit v1.2.3