arm64: Kconfig: select ALPINE_MSI only if PCI is selected
authorSudeep Holla <sudeep.holla@arm.com>
Wed, 3 Aug 2016 14:29:33 +0000 (15:29 +0100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 10 Aug 2016 20:58:11 +0000 (22:58 +0200)
Even when PCI is disabled, ARCH_ALPINE selects ALPINE_MSI triggerring
the following config warning:

warning: (ARCH_ALPINE) selects ALPINE_MSI which has unmet direct
dependencies (PCI)

This patch makes selection of ALPINE_MSI conditional on PCI.

Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm64/Kconfig.platforms

index bb2616b161576b4a664536ccae5c761544e93167..fd3ee3a392bee037603bc7ba5e54782f74a17649 100644 (file)
@@ -8,7 +8,7 @@ config ARCH_SUNXI
 
 config ARCH_ALPINE
        bool "Annapurna Labs Alpine platform"
-       select ALPINE_MSI
+       select ALPINE_MSI if PCI
        help
          This enables support for the Annapurna Labs Alpine
          Soc family.