diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
commit | 44aefd2706bb6f5b65ba2c38cd89e7609e2b43d3 (patch) | |
tree | 93824f573767da634fbc82c388b6d33cc454212b /drivers/bluetooth/bfusb.c | |
parent | c1a26e7d40fb814716950122353a1a556844286b (diff) | |
parent | 7d12e780e003f93433d49ce78cfedf4b4c52adc5 (diff) |
Merge git://git.infradead.org/~dhowells/irq-2.6
* git://git.infradead.org/~dhowells/irq-2.6:
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
IRQ: Typedef the IRQ handler function type
IRQ: Typedef the IRQ flow handler function type
Diffstat (limited to 'drivers/bluetooth/bfusb.c')
-rw-r--r-- | drivers/bluetooth/bfusb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/bluetooth/bfusb.c b/drivers/bluetooth/bfusb.c index efcc28ec9d9a..31ade991aa91 100644 --- a/drivers/bluetooth/bfusb.c +++ b/drivers/bluetooth/bfusb.c | |||
@@ -95,8 +95,8 @@ struct bfusb_data_scb { | |||
95 | struct urb *urb; | 95 | struct urb *urb; |
96 | }; | 96 | }; |
97 | 97 | ||
98 | static void bfusb_tx_complete(struct urb *urb, struct pt_regs *regs); | 98 | static void bfusb_tx_complete(struct urb *urb); |
99 | static void bfusb_rx_complete(struct urb *urb, struct pt_regs *regs); | 99 | static void bfusb_rx_complete(struct urb *urb); |
100 | 100 | ||
101 | static struct urb *bfusb_get_completed(struct bfusb_data *data) | 101 | static struct urb *bfusb_get_completed(struct bfusb_data *data) |
102 | { | 102 | { |
@@ -190,7 +190,7 @@ static void bfusb_tx_wakeup(struct bfusb_data *data) | |||
190 | clear_bit(BFUSB_TX_PROCESS, &data->state); | 190 | clear_bit(BFUSB_TX_PROCESS, &data->state); |
191 | } | 191 | } |
192 | 192 | ||
193 | static void bfusb_tx_complete(struct urb *urb, struct pt_regs *regs) | 193 | static void bfusb_tx_complete(struct urb *urb) |
194 | { | 194 | { |
195 | struct sk_buff *skb = (struct sk_buff *) urb->context; | 195 | struct sk_buff *skb = (struct sk_buff *) urb->context; |
196 | struct bfusb_data *data = (struct bfusb_data *) skb->dev; | 196 | struct bfusb_data *data = (struct bfusb_data *) skb->dev; |
@@ -349,7 +349,7 @@ static inline int bfusb_recv_block(struct bfusb_data *data, int hdr, unsigned ch | |||
349 | return 0; | 349 | return 0; |
350 | } | 350 | } |
351 | 351 | ||
352 | static void bfusb_rx_complete(struct urb *urb, struct pt_regs *regs) | 352 | static void bfusb_rx_complete(struct urb *urb) |
353 | { | 353 | { |
354 | struct sk_buff *skb = (struct sk_buff *) urb->context; | 354 | struct sk_buff *skb = (struct sk_buff *) urb->context; |
355 | struct bfusb_data *data = (struct bfusb_data *) skb->dev; | 355 | struct bfusb_data *data = (struct bfusb_data *) skb->dev; |