fix missing sbh symbol on 2.4
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 25 Dec 2005 22:26:08 +0000 (22:26 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 25 Dec 2005 22:26:08 +0000 (22:26 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2784 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/package/switch/src/gpio.h

index 95cf670..8257600 100644 (file)
@@ -3,7 +3,13 @@
 
 #if defined(BCMGPIO2)
 
+#ifdef LINUX_2_4
+#define sbh bcm947xx_sbh
+extern void *bcm947xx_sbh;
+#else
 extern void *sbh;
+#endif
+
 extern __u32 sb_gpioin(void *sbh);
 extern __u32 sb_gpiointpolarity(void *sbh, __u32 mask, __u32 val, __u8 prio);
 extern __u32 sb_gpiointmask(void *sbh, __u32 mask, __u32 val, __u8 prio);
This page took 0.025806 seconds and 4 git commands to generate.