summaryrefslogtreecommitdiffstats
path: root/include/linux/bcma
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 14:53:03 -0500
commitd1a7a8e1d367e34e5adce91f48cae07dc08d9e6c (patch)
treeb4e279942e10a4bfc51e6bfeef052c3cca088964 /include/linux/bcma
parent4b259a5cc5ea967fa243dfc1f95a59ae74106f5b (diff)
downloadlinux-stable-d1a7a8e1d367e34e5adce91f48cae07dc08d9e6c.tar.gz
linux-stable-d1a7a8e1d367e34e5adce91f48cae07dc08d9e6c.tar.bz2
linux-stable-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 'include/linux/bcma')
-rw-r--r--include/linux/bcma/bcma_driver_pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/bcma/bcma_driver_pci.h b/include/linux/bcma/bcma_driver_pci.h
index 67ea7beff9f3..679d4cab4547 100644
--- a/include/linux/bcma/bcma_driver_pci.h
+++ b/include/linux/bcma/bcma_driver_pci.h
@@ -169,7 +169,7 @@ struct bcma_drv_pci {
#define pcicore_read32(pc, offset) bcma_read32((pc)->core, offset)
#define pcicore_write32(pc, offset, val) bcma_write32((pc)->core, offset, val)
-extern void bcma_core_pci_init(struct bcma_drv_pci *pc);
+extern void __devinit bcma_core_pci_init(struct bcma_drv_pci *pc);
extern int bcma_core_pci_irq_ctl(struct bcma_drv_pci *pc,
struct bcma_device *core, bool enable);