summaryrefslogtreecommitdiffstats
path: root/drivers/bcma/host_pci.c
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-01-31 00:03:34 +0100
committerJohn W. Linville <linville@tuxdriver.com>2012-02-06 20:53:03 +0100
commitd1a7a8e1d367e34e5adce91f48cae07dc08d9e6c (patch)
treeb4e279942e10a4bfc51e6bfeef052c3cca088964 /drivers/bcma/host_pci.c
parentbcma: export bcma_pcie_read() (diff)
downloadlinux-d1a7a8e1d367e34e5adce91f48cae07dc08d9e6c.tar.xz
linux-d1a7a8e1d367e34e5adce91f48cae07dc08d9e6c.zip
bcma: make some functions __devinit
bcma_core_pci_hostmode_init() has to be in __devinit as it will call a function in that section and so all functions calling it also have to be in __devinit. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> 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 f59244e33971..e3928d68802b 100644
--- a/drivers/bcma/host_pci.c
+++ b/drivers/bcma/host_pci.c
@@ -154,8 +154,8 @@ const struct bcma_host_ops bcma_host_pci_ops = {
.awrite32 = bcma_host_pci_awrite32,
};
-static int bcma_host_pci_probe(struct pci_dev *dev,
- const struct pci_device_id *id)
+static int __devinit bcma_host_pci_probe(struct pci_dev *dev,
+ const struct pci_device_id *id)
{
struct bcma_bus *bus;
int err = -ENOMEM;