Skip to content

Commit

Permalink
PCI: Include pci/hotplug Kconfig directly from pci/Kconfig
Browse files Browse the repository at this point in the history
Include pci/hotplug/Kconfig directly from pci/Kconfig, so arches don't
have to source both pci/Kconfig and pci/hotplug/Kconfig.

Note that this effectively adds pci/hotplug/Kconfig to the following
arches, because they already sourced drivers/pci/Kconfig but they
previously did not source drivers/pci/hotplug/Kconfig:

  alpha
  arm
  avr32
  frv
  m68k
  microblaze
  mn10300
  sparc
  unicore32

Inspired-by-patch-from: Bogicevic Sasa <brutallesale@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
  • Loading branch information
Bjorn Helgaas committed Mar 8, 2016
1 parent 5f8fc43 commit e7e127e
Show file tree
Hide file tree
Showing 13 changed files with 1 addition and 23 deletions.
1 change: 0 additions & 1 deletion arch/arm64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ config PCI_SYSCALL
def_bool PCI

source "drivers/pci/Kconfig"
source "drivers/pci/hotplug/Kconfig"

endmenu

Expand Down
2 changes: 0 additions & 2 deletions arch/blackfin/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1233,8 +1233,6 @@ source "drivers/pci/Kconfig"

source "drivers/pcmcia/Kconfig"

source "drivers/pci/hotplug/Kconfig"

endmenu

menu "Executable file formats"
Expand Down
2 changes: 0 additions & 2 deletions arch/ia64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -576,8 +576,6 @@ config PCI_SYSCALL

source "drivers/pci/Kconfig"

source "drivers/pci/hotplug/Kconfig"

source "drivers/pcmcia/Kconfig"

endmenu
Expand Down
2 changes: 0 additions & 2 deletions arch/m32r/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,6 @@ config ISA

source "drivers/pcmcia/Kconfig"

source "drivers/pci/hotplug/Kconfig"

endmenu


Expand Down
2 changes: 0 additions & 2 deletions arch/mips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2935,8 +2935,6 @@ config ZONE_DMA32

source "drivers/pcmcia/Kconfig"

source "drivers/pci/hotplug/Kconfig"

config RAPIDIO
tristate "RapidIO support"
depends on PCI
Expand Down
2 changes: 0 additions & 2 deletions arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -832,8 +832,6 @@ source "drivers/pci/Kconfig"

source "drivers/pcmcia/Kconfig"

source "drivers/pci/hotplug/Kconfig"

config HAS_RAPIDIO
bool
default n
Expand Down
1 change: 0 additions & 1 deletion arch/s390/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,6 @@ config PCI_NR_MSI
PCI devices.

source "drivers/pci/Kconfig"
source "drivers/pci/hotplug/Kconfig"

endif # PCI

Expand Down
2 changes: 0 additions & 2 deletions arch/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -851,8 +851,6 @@ source "drivers/pci/Kconfig"

source "drivers/pcmcia/Kconfig"

source "drivers/pci/hotplug/Kconfig"

endmenu

menu "Executable file formats"
Expand Down
3 changes: 0 additions & 3 deletions arch/tile/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,6 @@ config TILE_PCI_IO

source "drivers/pci/Kconfig"


config TILE_USB
tristate "Tilera USB host adapter support"
default y
Expand All @@ -466,8 +465,6 @@ config TILE_USB
Provides USB host adapter support for the built-in EHCI and OHCI
interfaces on TILE-Gx chips.

source "drivers/pci/hotplug/Kconfig"

endmenu

menu "Executable file formats"
Expand Down
2 changes: 0 additions & 2 deletions arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2586,8 +2586,6 @@ config AMD_NB

source "drivers/pcmcia/Kconfig"

source "drivers/pci/hotplug/Kconfig"

config RAPIDIO
tristate "RapidIO support"
depends on PCI
Expand Down
2 changes: 0 additions & 2 deletions arch/xtensa/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,6 @@ config FORCE_MAX_ZONEORDER

source "drivers/pcmcia/Kconfig"

source "drivers/pci/hotplug/Kconfig"

config PLATFORM_WANT_DEFAULT_MEM
def_bool n

Expand Down
2 changes: 0 additions & 2 deletions drivers/parisc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ config IOMMU_HELPER

source "drivers/pcmcia/Kconfig"

source "drivers/pci/hotplug/Kconfig"

endmenu

menu "PA-RISC specific drivers"
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,5 @@ config PCI_LABEL
def_bool y if (DMI || ACPI)
select NLS

source "drivers/pci/hotplug/Kconfig"
source "drivers/pci/host/Kconfig"

0 comments on commit e7e127e

Please sign in to comment.