• Sachin Kamat's avatar
    PCI: spear: Remove module option · 8d7004a6
    Sachin Kamat authored
    We get the following error when built as a module. Though the general fix
    would be in this case to export the below mentioned symbols, considering
    that dw_pcie_host_init() is marked with __init and other PCI drivers do not
    support modular build, I have disabled building this driver as a module
    too.
    
      ERROR: "dw_pcie_host_init" [drivers/pci/host/pcie-spear13xx.ko] undefined!
      ERROR: "dw_handle_msi_irq" [drivers/pci/host/pcie-spear13xx.ko] undefined!
      ERROR: "dw_pcie_msi_init" [drivers/pci/host/pcie-spear13xx.ko] undefined!
      ERROR: "dw_pcie_cfg_write" [drivers/pci/host/pcie-spear13xx.ko] undefined!
      ERROR: "dw_pcie_cfg_read" [drivers/pci/host/pcie-spear13xx.ko] undefined!
      ERROR: "dw_pcie_setup_rc" [drivers/pci/host/pcie-spear13xx.ko] undefined!
      ERROR: "dw_pcie_link_up" [drivers/pci/host/pcie-spear13xx.ko] undefined!
      make[1]: *** [__modpost] Error 1
      make: *** [modules] Error 2
    Signed-off-by: default avatarSachin Kamat <sachin.kamat@samsung.com>
    Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
    Reviewed-by: default avatarJingoo Han <jg1.han@samsung.com>
    Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
    8d7004a6
Kconfig 1.4 KB