mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
mwl8k: fix module re-insertion bug
swap mwl8k_remove and mwl8k_shutdown functions to allow "rmmod mwl8k; modprobe mwl8k" Signed-off-by: Joerg Albert <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
c3b93c878d
commit
230f7af0d8
1 changed files with 2 additions and 2 deletions
|
|
@ -3720,12 +3720,12 @@ err_free_reg:
|
|||
return rc;
|
||||
}
|
||||
|
||||
static void __devexit mwl8k_remove(struct pci_dev *pdev)
|
||||
static void __devexit mwl8k_shutdown(struct pci_dev *pdev)
|
||||
{
|
||||
printk(KERN_ERR "===>%s(%u)\n", __func__, __LINE__);
|
||||
}
|
||||
|
||||
static void __devexit mwl8k_shutdown(struct pci_dev *pdev)
|
||||
static void __devexit mwl8k_remove(struct pci_dev *pdev)
|
||||
{
|
||||
struct ieee80211_hw *hw = pci_get_drvdata(pdev);
|
||||
struct mwl8k_priv *priv;
|
||||
|
|
|
|||
Loading…
Reference in a new issue