ARC: Don't source drivers/pci/pcie/Kconfig ourselves
authorAndreas Ziegler <andreas.ziegler@fau.de>
Tue, 15 Mar 2016 11:16:55 +0000 (12:16 +0100)
committerVineet Gupta <vgupta@synopsys.com>
Thu, 7 Apr 2016 09:29:09 +0000 (14:59 +0530)
Commit 5f8fc43217a0 ("PCI: Include pci/pcie/Kconfig directly from
pci/Kconfig") in linux-next changed drivers/pci/Kconfig to include
drivers/pci/pcie/Kconfig itself, so that architectures do not need
to source both files themselves. ARC just recently gained PCI support
through commit 6b3fb77998dd ("ARC: Add PCI support"), but this change
was based on the old behaviour of the Kconfig files. This makes
Kconfig now spit out the following warnings:

drivers/pci/pcie/Kconfig:61:warning: choice value used outside its choice group
drivers/pci/pcie/Kconfig:67:warning: choice value used outside its choice group
drivers/pci/pcie/Kconfig:74:warning: choice value used outside its choice group

This change updates the Kconfig file for ARC, dropping the now
unnecessary 'source' statement, which makes the warning disappear.

Signed-off-by: Andreas Ziegler <andreas.ziegler@fau.de>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/Kconfig

index 208aae071b378550fa47ade47332ec9351f62e43..12d0284a46e54a6cc74edde0fb5956924673a183 100644 (file)
@@ -593,7 +593,6 @@ config PCI_SYSCALL
        def_bool PCI
 
 source "drivers/pci/Kconfig"
-source "drivers/pci/pcie/Kconfig"
 
 endmenu