Skip to content

Commit

Permalink
ar9170: fix for driver-core ABI change
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Stephen Rothwell authored and John W. Linville committed May 11, 2010
1 parent cc75589 commit 5a147e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/net/wireless/ath/ar9170/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
#include <linux/usb.h>
#include <linux/firmware.h>
#include <linux/etherdevice.h>
#include <linux/device.h>
#include <net/mac80211.h>
#include "ar9170.h"
#include "cmd.h"
Expand Down Expand Up @@ -739,10 +740,10 @@ static void ar9170_usb_firmware_failed(struct ar9170_usb *aru)

/* unbind anything failed */
if (parent)
down(&parent->sem);
device_lock(parent);
device_release_driver(&aru->udev->dev);
if (parent)
up(&parent->sem);
device_unlock(parent);
}

static void ar9170_usb_firmware_finish(const struct firmware *fw, void *context)
Expand Down

0 comments on commit 5a147e8

Please sign in to comment.