aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bcma/host_pci.c
diff options
context:
space:
mode:
authorNathan Hintz <nlhintz@hotmail.com>2012-05-05 00:56:35 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-05-16 12:46:04 -0400
commit16d75faed98250423abdaf1fa0a3719c5e4e8b45 (patch)
tree5069bfefda152a0d25ef12b69e35ae0ae721f454 /drivers/bcma/host_pci.c
parentc61cab3a6135eacd303a26a327c1e689ec04fcbe (diff)
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>
Diffstat (limited to 'drivers/bcma/host_pci.c')
-rw-r--r--drivers/bcma/host_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bcma/host_pci.c b/drivers/bcma/host_pci.c
index 3a93563b4f7a..6c05cf470f96 100644
--- a/drivers/bcma/host_pci.c
+++ b/drivers/bcma/host_pci.c
@@ -225,7 +225,7 @@ err_kfree_bus:
225 return err; 225 return err;
226} 226}
227 227
228static void bcma_host_pci_remove(struct pci_dev *dev) 228static void __devexit bcma_host_pci_remove(struct pci_dev *dev)
229{ 229{
230 struct bcma_bus *bus = pci_get_drvdata(dev); 230 struct bcma_bus *bus = pci_get_drvdata(dev);
231 231
@@ -280,7 +280,7 @@ static struct pci_driver bcma_pci_bridge_driver = {
280 .name = "bcma-pci-bridge", 280 .name = "bcma-pci-bridge",
281 .id_table = bcma_pci_bridge_tbl, 281 .id_table = bcma_pci_bridge_tbl,
282 .probe = bcma_host_pci_probe, 282 .probe = bcma_host_pci_probe,
283 .remove = bcma_host_pci_remove, 283 .remove = __devexit_p(bcma_host_pci_remove),
284 .driver.pm = BCMA_PM_OPS, 284 .driver.pm = BCMA_PM_OPS,
285}; 285};
286 286