Skip to content

Commit 16d75fa

Browse files
nlhintzlinvjw
authored andcommitted
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>
1 parent c61cab3 commit 16d75fa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/bcma/host_pci.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ static int __devinit bcma_host_pci_probe(struct pci_dev *dev,
225225
return err;
226226
}
227227

228-
static void bcma_host_pci_remove(struct pci_dev *dev)
228+
static void __devexit bcma_host_pci_remove(struct pci_dev *dev)
229229
{
230230
struct bcma_bus *bus = pci_get_drvdata(dev);
231231

@@ -280,7 +280,7 @@ static struct pci_driver bcma_pci_bridge_driver = {
280280
.name = "bcma-pci-bridge",
281281
.id_table = bcma_pci_bridge_tbl,
282282
.probe = bcma_host_pci_probe,
283-
.remove = bcma_host_pci_remove,
283+
.remove = __devexit_p(bcma_host_pci_remove),
284284
.driver.pm = BCMA_PM_OPS,
285285
};
286286

0 commit comments

Comments
 (0)