]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Make PCI non-optional
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 17 Feb 2017 06:34:13 +0000 (17:34 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 20 Feb 2017 03:56:26 +0000 (14:56 +1100)
commitb7df4a69b9cd1c0b3c543689d94506aba98b414a
tree7ec9587cae739ac8ca051d97124a1f93610b2389
parent7f163926daed67f0dc68eb0fcc6747b8c7aa1702
powerpc/powernv: Make PCI non-optional

Bare metal systems without PCI don't exist, so there's no real point in
making PCI optional, it just breaks the build from time to time. In fact
the build is broken now if you turn off PCI_MSI but enable KVM.

Using select for PCI is OK because we (powerpc) define config PCI, and it
has no dependencies. Selecting PCI_MSI is slightly fishy, because it's
in drivers/pci and it is user-visible, but its only dependency is PCI,
so selecting it can't actually lead to breakage.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Acked-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/Kconfig