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/usb/net/usbnet.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/usb/net/usbnet.c')
-rw-r--r-- | drivers/usb/net/usbnet.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/usb/net/usbnet.c b/drivers/usb/net/usbnet.c index 98a522f1e264..24bd3486ee63 100644 --- a/drivers/usb/net/usbnet.c +++ b/drivers/usb/net/usbnet.c | |||
@@ -158,7 +158,7 @@ int usbnet_get_endpoints(struct usbnet *dev, struct usb_interface *intf) | |||
158 | } | 158 | } |
159 | EXPORT_SYMBOL_GPL(usbnet_get_endpoints); | 159 | EXPORT_SYMBOL_GPL(usbnet_get_endpoints); |
160 | 160 | ||
161 | static void intr_complete (struct urb *urb, struct pt_regs *regs); | 161 | static void intr_complete (struct urb *urb); |
162 | 162 | ||
163 | static int init_status (struct usbnet *dev, struct usb_interface *intf) | 163 | static int init_status (struct usbnet *dev, struct usb_interface *intf) |
164 | { | 164 | { |
@@ -295,7 +295,7 @@ EXPORT_SYMBOL_GPL(usbnet_defer_kevent); | |||
295 | 295 | ||
296 | /*-------------------------------------------------------------------------*/ | 296 | /*-------------------------------------------------------------------------*/ |
297 | 297 | ||
298 | static void rx_complete (struct urb *urb, struct pt_regs *regs); | 298 | static void rx_complete (struct urb *urb); |
299 | 299 | ||
300 | static void rx_submit (struct usbnet *dev, struct urb *urb, gfp_t flags) | 300 | static void rx_submit (struct usbnet *dev, struct urb *urb, gfp_t flags) |
301 | { | 301 | { |
@@ -383,7 +383,7 @@ error: | |||
383 | 383 | ||
384 | /*-------------------------------------------------------------------------*/ | 384 | /*-------------------------------------------------------------------------*/ |
385 | 385 | ||
386 | static void rx_complete (struct urb *urb, struct pt_regs *regs) | 386 | static void rx_complete (struct urb *urb) |
387 | { | 387 | { |
388 | struct sk_buff *skb = (struct sk_buff *) urb->context; | 388 | struct sk_buff *skb = (struct sk_buff *) urb->context; |
389 | struct skb_data *entry = (struct skb_data *) skb->cb; | 389 | struct skb_data *entry = (struct skb_data *) skb->cb; |
@@ -467,7 +467,7 @@ block: | |||
467 | devdbg (dev, "no read resubmitted"); | 467 | devdbg (dev, "no read resubmitted"); |
468 | } | 468 | } |
469 | 469 | ||
470 | static void intr_complete (struct urb *urb, struct pt_regs *regs) | 470 | static void intr_complete (struct urb *urb) |
471 | { | 471 | { |
472 | struct usbnet *dev = urb->context; | 472 | struct usbnet *dev = urb->context; |
473 | int status = urb->status; | 473 | int status = urb->status; |
@@ -797,7 +797,7 @@ kevent (void *data) | |||
797 | 797 | ||
798 | /*-------------------------------------------------------------------------*/ | 798 | /*-------------------------------------------------------------------------*/ |
799 | 799 | ||
800 | static void tx_complete (struct urb *urb, struct pt_regs *regs) | 800 | static void tx_complete (struct urb *urb) |
801 | { | 801 | { |
802 | struct sk_buff *skb = (struct sk_buff *) urb->context; | 802 | struct sk_buff *skb = (struct sk_buff *) urb->context; |
803 | struct skb_data *entry = (struct skb_data *) skb->cb; | 803 | struct skb_data *entry = (struct skb_data *) skb->cb; |