brcm47xx: remove support for kernel 3.2
[openwrt.git] / target / linux / brcm47xx / patches-3.3 / 238-bcma-host_pci_devexit.patch
1 --- a/drivers/bcma/host_pci.c
2 +++ b/drivers/bcma/host_pci.c
3 @@ -222,7 +222,7 @@ err_kfree_bus:
4         return err;
5  }
6  
7 -static void bcma_host_pci_remove(struct pci_dev *dev)
8 +static void __devexit bcma_host_pci_remove(struct pci_dev *dev)
9  {
10         struct bcma_bus *bus = pci_get_drvdata(dev);
11  
12 @@ -278,7 +278,7 @@ static struct pci_driver bcma_pci_bridge
13         .name = "bcma-pci-bridge",
14         .id_table = bcma_pci_bridge_tbl,
15         .probe = bcma_host_pci_probe,
16 -       .remove = bcma_host_pci_remove,
17 +       .remove = __devexit_p(bcma_host_pci_remove),
18         .driver.pm = BCMA_PM_OPS,
19  };
20