aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_usb.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-10-05 19:32:01 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-05 19:32:01 -0400
commit44aefd2706bb6f5b65ba2c38cd89e7609e2b43d3 (patch)
tree93824f573767da634fbc82c388b6d33cc454212b /drivers/bluetooth/hci_usb.c
parentc1a26e7d40fb814716950122353a1a556844286b (diff)
parent7d12e780e003f93433d49ce78cfedf4b4c52adc5 (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/hci_usb.c')
-rw-r--r--drivers/bluetooth/hci_usb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/bluetooth/hci_usb.c b/drivers/bluetooth/hci_usb.c
index 0801af4ad2b9..7565642a007a 100644
--- a/drivers/bluetooth/hci_usb.c
+++ b/drivers/bluetooth/hci_usb.c
@@ -176,8 +176,8 @@ static struct _urb *_urb_dequeue(struct _urb_queue *q)
176 return _urb; 176 return _urb;
177} 177}
178 178
179static void hci_usb_rx_complete(struct urb *urb, struct pt_regs *regs); 179static void hci_usb_rx_complete(struct urb *urb);
180static void hci_usb_tx_complete(struct urb *urb, struct pt_regs *regs); 180static void hci_usb_tx_complete(struct urb *urb);
181 181
182#define __pending_tx(husb, type) (&husb->pending_tx[type-1]) 182#define __pending_tx(husb, type) (&husb->pending_tx[type-1])
183#define __pending_q(husb, type) (&husb->pending_q[type-1]) 183#define __pending_q(husb, type) (&husb->pending_q[type-1])
@@ -732,7 +732,7 @@ static inline int __recv_frame(struct hci_usb *husb, int type, void *data, int c
732 return 0; 732 return 0;
733} 733}
734 734
735static void hci_usb_rx_complete(struct urb *urb, struct pt_regs *regs) 735static void hci_usb_rx_complete(struct urb *urb)
736{ 736{
737 struct _urb *_urb = container_of(urb, struct _urb, urb); 737 struct _urb *_urb = container_of(urb, struct _urb, urb);
738 struct hci_usb *husb = (void *) urb->context; 738 struct hci_usb *husb = (void *) urb->context;
@@ -786,7 +786,7 @@ unlock:
786 read_unlock(&husb->completion_lock); 786 read_unlock(&husb->completion_lock);
787} 787}
788 788
789static void hci_usb_tx_complete(struct urb *urb, struct pt_regs *regs) 789static void hci_usb_tx_complete(struct urb *urb)
790{ 790{
791 struct _urb *_urb = container_of(urb, struct _urb, urb); 791 struct _urb *_urb = container_of(urb, struct _urb, urb);
792 struct hci_usb *husb = (void *) urb->context; 792 struct hci_usb *husb = (void *) urb->context;