diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2015-01-25 14:02:48 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-01-29 10:52:59 +0200 |
commit | ae8ce289e55e6f9911016f73ac85dcb2e0c0c9c1 (patch) | |
tree | 90909323290037522932a4ea9eb6fa7053878997 /drivers/bcma/driver_pci.c | |
parent | 3c313161353ad527de1a6ecde0f0d41700858fd6 (diff) | |
download | linux-stable-ae8ce289e55e6f9911016f73ac85dcb2e0c0c9c1.tar.gz linux-stable-ae8ce289e55e6f9911016f73ac85dcb2e0c0c9c1.tar.bz2 linux-stable-ae8ce289e55e6f9911016f73ac85dcb2e0c0c9c1.zip |
bcma: add empty PCIe hostmode functions if support is disabled
This allows us to drop some #ifdef magic (mess).
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/bcma/driver_pci.c')
-rw-r--r-- | drivers/bcma/driver_pci.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/bcma/driver_pci.c b/drivers/bcma/driver_pci.c index 50329d1057ed..b85a505603e6 100644 --- a/drivers/bcma/driver_pci.c +++ b/drivers/bcma/driver_pci.c @@ -226,11 +226,9 @@ void bcma_core_pci_init(struct bcma_drv_pci *pc) if (pc->setup_done) return; -#ifdef CONFIG_BCMA_DRIVER_PCI_HOSTMODE pc->hostmode = bcma_core_pci_is_in_hostmode(pc); if (pc->hostmode) bcma_core_pci_hostmode_init(pc); -#endif /* CONFIG_BCMA_DRIVER_PCI_HOSTMODE */ if (!pc->hostmode) bcma_core_pci_clientmode_init(pc); |