1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/ssb/ssb.h>
10 #ifdef CONFIG_B43_SDIO
14 void *irq_handler_opaque
;
15 void (*irq_handler
)(struct b43_wldev
*dev
);
18 int b43_sdio_request_irq(struct b43_wldev
*dev
,
19 void (*handler
)(struct b43_wldev
*dev
));
20 void b43_sdio_free_irq(struct b43_wldev
*dev
);
22 int b43_sdio_init(void);
23 void b43_sdio_exit(void);
26 #else /* CONFIG_B43_SDIO */
29 static inline int b43_sdio_request_irq(struct b43_wldev
*dev
,
30 void (*handler
)(struct b43_wldev
*dev
))
34 static inline void b43_sdio_free_irq(struct b43_wldev
*dev
)
37 static inline int b43_sdio_init(void)
41 static inline void b43_sdio_exit(void)
45 #endif /* CONFIG_B43_SDIO */
46 #endif /* B43_SDIO_H_ */