bcma: add empty PCIe hostmode functions if support is disabled
[firefly-linux-kernel-4.4.55.git] / drivers / bcma / driver_pci.c
index 50329d1057ed5dc5c929fde89237add36c55ea48..b85a505603e64e96fe6e06c7cd16adf5e05677ac 100644 (file)
@@ -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);