diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-01-30 18:03:34 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-06 14:53:03 -0500 |
commit | d1a7a8e1d367e34e5adce91f48cae07dc08d9e6c (patch) | |
tree | b4e279942e10a4bfc51e6bfeef052c3cca088964 /drivers/bcma/driver_pci_host.c | |
parent | 4b259a5cc5ea967fa243dfc1f95a59ae74106f5b (diff) |
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/driver_pci_host.c')
-rw-r--r-- | drivers/bcma/driver_pci_host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bcma/driver_pci_host.c b/drivers/bcma/driver_pci_host.c index eb332b75ce83..99e040b607a2 100644 --- a/drivers/bcma/driver_pci_host.c +++ b/drivers/bcma/driver_pci_host.c | |||
@@ -8,7 +8,7 @@ | |||
8 | #include "bcma_private.h" | 8 | #include "bcma_private.h" |
9 | #include <linux/bcma/bcma.h> | 9 | #include <linux/bcma/bcma.h> |
10 | 10 | ||
11 | void bcma_core_pci_hostmode_init(struct bcma_drv_pci *pc) | 11 | void __devinit bcma_core_pci_hostmode_init(struct bcma_drv_pci *pc) |
12 | { | 12 | { |
13 | pr_err("No support for PCI core in hostmode yet\n"); | 13 | pr_err("No support for PCI core in hostmode yet\n"); |
14 | } | 14 | } |