From bcf256e11bda1fa24bac30ba92fdcfba55d692d7 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 10 Jan 2006 15:31:51 +0000 Subject: [PATCH] fix sbh symbol export for switch drivers on brcm-2.4 SVN-Revision: 2873 --- 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 f682233073fd..e616893e9e15 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 -- 2.30.2