projects
/
openwrt
/
staging
/
svanheule.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dff113
)
fix missing sbh symbol on 2.4
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 25 Dec 2005 22:26:08 +0000
(22:26 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 25 Dec 2005 22:26:08 +0000
(22:26 +0000)
SVN-Revision: 2784
openwrt/target/linux/package/switch/src/gpio.h
patch
|
blob
|
history
diff --git
a/openwrt/target/linux/package/switch/src/gpio.h
b/openwrt/target/linux/package/switch/src/gpio.h
index 95cf670f9e17486a8d596c2445bdb8f2d358c01a..8257600331979a255ecd91ca24fad2b1c0fc9eb8 100644
(file)
--- a/
openwrt/target/linux/package/switch/src/gpio.h
+++ b/
openwrt/target/linux/package/switch/src/gpio.h
@@
-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);