1 --- a/drivers/net/wireless/b43/Makefile
2 +++ b/drivers/net/wireless/b43/Makefile
3 @@ -14,7 +14,7 @@ b43-y += xmit.o
10 b43-$(CONFIG_B43_LEDS) += leds.o
11 b43-$(CONFIG_B43_PCMCIA) += pcmcia.o
12 --- a/drivers/net/wireless/b43/main.c
13 +++ b/drivers/net/wireless/b43/main.c
14 @@ -1810,9 +1810,11 @@ static void b43_do_interrupt_thread(stru
15 dma_reason[4], dma_reason[5]);
16 b43err(dev->wl, "This device does not support DMA "
17 "on your system. It will now be switched to PIO.\n");
19 /* Fall back to PIO transfers if we get fatal DMA errors! */
21 b43_controller_restart(dev, "DMA error");
25 if (merged_dma_reason & B43_DMAIRQ_NONFATALMASK) {
26 --- a/drivers/net/wireless/b43/pio.h
27 +++ b/drivers/net/wireless/b43/pio.h
28 @@ -151,15 +151,34 @@ static inline void b43_piorx_write32(str
32 -int b43_pio_init(struct b43_wldev *dev);
33 -void b43_pio_free(struct b43_wldev *dev);
34 +static inline int b43_pio_init(struct b43_wldev *dev)
39 +static inline void b43_pio_free(struct b43_wldev *dev)
43 +static inline int b43_pio_tx(struct b43_wldev *dev, struct sk_buff *skb)
48 -int b43_pio_tx(struct b43_wldev *dev, struct sk_buff *skb);
49 -void b43_pio_handle_txstatus(struct b43_wldev *dev,
50 - const struct b43_txstatus *status);
51 -void b43_pio_rx(struct b43_pio_rxqueue *q);
52 +static inline void b43_pio_handle_txstatus(struct b43_wldev *dev,
53 + const struct b43_txstatus *status)
57 +static inline void b43_pio_rx(struct b43_pio_rxqueue *q)
61 -void b43_pio_tx_suspend(struct b43_wldev *dev);
62 -void b43_pio_tx_resume(struct b43_wldev *dev);
63 +static inline void b43_pio_tx_suspend(struct b43_wldev *dev)
66 +static inline void b43_pio_tx_resume(struct b43_wldev *dev)
70 #endif /* B43_PIO_H_ */