Return-path: Received: from blu0-omc2-s37.blu0.hotmail.com ([65.55.111.112]:49266 "EHLO blu0-omc2-s37.blu0.hotmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751985Ab2DZEYb (ORCPT ); Thu, 26 Apr 2012 00:24:31 -0400 Message-ID: (sfid-20120426_062438_246246_C8AD2205) From: Nathan Hintz To: linville@tuxdriver.com CC: linux-wireless@vger.kernel.org, hauke@hauke-m.de, Nathan Hintz Subject: [PATCH v2 5/6] bcma: Add __devexit to bcma_host_pci_remove Date: Wed, 25 Apr 2012 21:23:53 -0700 In-Reply-To: <1335414234-11424-1-git-send-email-nlhintz@hotmail.com> References: <1335414234-11424-1-git-send-email-nlhintz@hotmail.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org List-ID: Signed-off-by: Nathan Hintz --- drivers/bcma/host_pci.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/bcma/host_pci.c b/drivers/bcma/host_pci.c index e3928d6..915ab2f 100644 --- a/drivers/bcma/host_pci.c +++ b/drivers/bcma/host_pci.c @@ -222,7 +222,7 @@ err_kfree_bus: return err; } -static void bcma_host_pci_remove(struct pci_dev *dev) +static void __devexit bcma_host_pci_remove(struct pci_dev *dev) { struct bcma_bus *bus = pci_get_drvdata(dev); @@ -277,7 +277,7 @@ static struct pci_driver bcma_pci_bridge_driver = { .name = "bcma-pci-bridge", .id_table = bcma_pci_bridge_tbl, .probe = bcma_host_pci_probe, - .remove = bcma_host_pci_remove, + .remove = __devexit_p(bcma_host_pci_remove), .driver.pm = BCMA_PM_OPS, }; -- 1.7.7.6