[PATCH] arm64: Kconfig: select ALPINE_MSI only if PCI is selected

Antoine Tenart antoine.tenart at free-electrons.com
Fri Jul 22 08:27:30 PDT 2016


Hello,

On Fri, Jul 22, 2016 at 03:42:07PM +0100, Sudeep Holla wrote:
> 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.

[...]

> --- a/arch/arm64/Kconfig.platforms
> +++ b/arch/arm64/Kconfig.platforms
> @@ -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.

ALPINE_MSI also depends on PCI_MSI (which itself depends on PCI).
PCI_MSI isn't necessarily selected when PCI is, so please make the
ALPINE_MSI selection conditional on PCI_MSI instead.

Thanks!

Antoine

-- 
Antoine Ténart, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160722/01287140/attachment.sig>


More information about the linux-arm-kernel mailing list