fix missing sbh symbol on 2.4

SVN-Revision: 2784
owl
Felix Fietkau 2005-12-25 22:26:08 +00:00
parent 5dff113a9a
commit 0248499b67
1 changed files with 6 additions and 0 deletions

View File

@ -3,7 +3,13 @@
#if defined(BCMGPIO2) #if defined(BCMGPIO2)
#ifdef LINUX_2_4
#define sbh bcm947xx_sbh
extern void *bcm947xx_sbh;
#else
extern void *sbh; extern void *sbh;
#endif
extern __u32 sb_gpioin(void *sbh); extern __u32 sb_gpioin(void *sbh);
extern __u32 sb_gpiointpolarity(void *sbh, __u32 mask, __u32 val, __u8 prio); extern __u32 sb_gpiointpolarity(void *sbh, __u32 mask, __u32 val, __u8 prio);
extern __u32 sb_gpiointmask(void *sbh, __u32 mask, __u32 val, __u8 prio); extern __u32 sb_gpiointmask(void *sbh, __u32 mask, __u32 val, __u8 prio);