Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1357994

[PATCH] ARC: Don't source drivers/pci/pcie/Kconfig ourselves

From Andreas Ziegler <andreas.ziegler@fau.de>
Newsgroups linux.kernel
Subject [PATCH] ARC: Don't source drivers/pci/pcie/Kconfig ourselves
Date 2016-03-15 12:20 +0100
Message-ID <rcVb3-1hH-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
 arch/arc/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index 69d05f5..282efec 100644
--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -592,7 +592,6 @@ config PCI_SYSCALL
 	def_bool PCI
 
 source "drivers/pci/Kconfig"
-source "drivers/pci/pcie/Kconfig"
 
 endmenu
 
-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] ARC: Don't source drivers/pci/pcie/Kconfig ourselves Andreas Ziegler <andreas.ziegler@fau.de> - 2016-03-15 12:20 +0100
  Re: [PATCH] ARC: Don't source drivers/pci/pcie/Kconfig ourselves Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2016-03-15 12:40 +0100
    Re: [PATCH] ARC: Don't source drivers/pci/pcie/Kconfig ourselves Joao Pinto <Joao.Pinto@synopsys.com> - 2016-03-15 13:10 +0100

csiph-web