libertas: fix usb_complete_t prototype

Marcelo Tosatti mtosatti at redhat.unroutablecom
Tue Nov 28 02:56:38 EST 2006


Commit:     7004f38d44730a28278d2fbf892a77cbe0e156ec
Parent:     38b55974b0645242e2baf0196684ac5f05ecccce
commit 7004f38d44730a28278d2fbf892a77cbe0e156ec
Author:     Marcelo Tosatti <mtosatti at redhat.com>
AuthorDate: Wed Nov 15 18:39:41 2006 -0200
Commit:     Marcelo Tosatti <mtosatti at redhat.com>
CommitDate: Wed Nov 15 18:39:41 2006 -0200

    libertas: fix usb_complete_t prototype
    
    Subject says it all.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
---
 drivers/net/wireless/libertas/if_usb.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c
index b6fa6f7..5cd4a51 100644
--- a/drivers/net/wireless/libertas/if_usb.c
+++ b/drivers/net/wireless/libertas/if_usb.c
@@ -74,8 +74,8 @@ struct BootCMDStr       sBootCMD;
 int if_usb_issue_boot_command(wlan_private *priv, int iValue);
 
 static int if_prog_firmware(wlan_private * priv);
-static void if_usb_receive(struct urb *urb, struct pt_regs *regs);
-static void if_usb_receive_fwload(struct urb *urb, struct pt_regs *regs);
+static void if_usb_receive(struct urb *urb);
+static void if_usb_receive_fwload(struct urb *urb);
 static int if_usb_probe(struct usb_interface *intf,
 			const struct usb_device_id *id);
 static void if_usb_disconnect(struct usb_interface *intf);
@@ -89,7 +89,7 @@ #endif
 
 static int __if_usb_submit_rx_urb(wlan_private * priv,
 				  void (*callbackfn)
-				  (struct urb *urb, struct pt_regs *regs));
+				  (struct urb *urb));
 
 /** if_usb_driver */
 static struct usb_driver if_usb_driver = {
@@ -124,7 +124,7 @@ static void if_usb_interrupt(wlan_privat
  *  @param urb 		pointer to urb structure
  *  @return 	   	N/A
  */
-static void if_usb_write_bulk_callback(struct urb *urb, struct pt_regs *regs)
+static void if_usb_write_bulk_callback(struct urb *urb)
 {
 	wlan_private *priv = (wlan_private *) (urb->context);
 	wlan_adapter *adapter = priv->adapter;
@@ -447,7 +447,7 @@ static inline int if_usb_submit_rx_urb(w
  */
 static int __if_usb_submit_rx_urb(wlan_private * priv,
 				  void (*callbackfn)
-				  (struct urb *urb, struct pt_regs *regs))
+				  (struct urb *urb))
 {
 	struct usb_card_rec *cardp = priv->wlan_dev.card;
 	struct sk_buff *skb;
@@ -496,7 +496,7 @@ rx_ret:
 }
 
 
-static void if_usb_receive_fwload(struct urb *urb, struct pt_regs *regs)
+static void if_usb_receive_fwload(struct urb *urb)
 {
 	struct read_cb_info *rinfo = (struct read_cb_info *)urb->context;
 	wlan_private *priv = rinfo->priv;
@@ -558,7 +558,7 @@ exit:
  *  @param urb		pointer to struct urb
  *  @return 	   	N/A
  */
-static void if_usb_receive(struct urb *urb, struct pt_regs *regs)
+static void if_usb_receive(struct urb *urb)
 {
 	struct read_cb_info *rinfo = (struct read_cb_info *)urb->context;
 	wlan_private *priv = rinfo->priv;


More information about the Commits-kernel mailing list