Skip to content

Commit

Permalink
ARC: Don't source drivers/pci/pcie/Kconfig ourselves
Browse files Browse the repository at this point in the history
Commit 5f8fc43 ("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>
  • Loading branch information
Andreas Ziegler authored and Vineet Gupta committed Apr 7, 2016
1 parent 9735a22 commit 732dc97
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/arc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,6 @@ config PCI_SYSCALL
def_bool PCI

source "drivers/pci/Kconfig"
source "drivers/pci/pcie/Kconfig"

endmenu

Expand Down

0 comments on commit 732dc97

Please sign in to comment.