Commit 0bb436c2 authored by Kai Germaschewski's avatar Kai Germaschewski

ISDN: Fix typo for hisax/st5481 driver

Fix a typo which was introduced when updating st5481 for the
USB API changes.
parent 4c125634
...@@ -59,7 +59,7 @@ static LIST_HEAD(adapter_list); ...@@ -59,7 +59,7 @@ static LIST_HEAD(adapter_list);
* This function will be called when the adapter is plugged * This function will be called when the adapter is plugged
* into the USB bus. * into the USB bus.
*/ */
static int probe_st5481(struct usb_interface *intf static int probe_st5481(struct usb_interface *intf,
const struct usb_device_id *id) const struct usb_device_id *id)
{ {
struct usb_device *dev = interface_to_usbdev(intf); struct usb_device *dev = interface_to_usbdev(intf);
...@@ -115,7 +115,7 @@ static int probe_st5481(struct usb_interface *intf ...@@ -115,7 +115,7 @@ static int probe_st5481(struct usb_interface *intf
st5481_start(adapter); st5481_start(adapter);
dev_set_drvdata(&intf->dev, adapter); dev_set_drvdata(&intf->dev, adapter);
return adapter; return 0;
err_b: err_b:
st5481_release_b(&adapter->bcs[0]); st5481_release_b(&adapter->bcs[0]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment