Commit 16d75faed98250423abdaf1fa0a3719c5e4e8b45

Authored by Nathan Hintz
Committed by John W. Linville
1 parent c61cab3a61

bcma: Add __devexit to bcma_host_pci_remove

Add missing __devexit attribute to bcma_host_pci_remove.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

drivers/bcma/host_pci.c
... ... @@ -225,7 +225,7 @@
225 225 return err;
226 226 }
227 227  
228   -static void bcma_host_pci_remove(struct pci_dev *dev)
  228 +static void __devexit bcma_host_pci_remove(struct pci_dev *dev)
229 229 {
230 230 struct bcma_bus *bus = pci_get_drvdata(dev);
231 231  
... ... @@ -280,7 +280,7 @@
280 280 .name = "bcma-pci-bridge",
281 281 .id_table = bcma_pci_bridge_tbl,
282 282 .probe = bcma_host_pci_probe,
283   - .remove = bcma_host_pci_remove,
  283 + .remove = __devexit_p(bcma_host_pci_remove),
284 284 .driver.pm = BCMA_PM_OPS,
285 285 };
286 286