diff mbox

PCI: artpec: add PCI_MSI_IRQ_DOMAIN dependency

Message ID 20160706124640.1521466-1-arnd@arndb.de
State Accepted
Headers show

Commit Message

Arnd Bergmann July 6, 2016, 12:46 p.m. UTC
The designware PCIe driver requires MSI support, so we get a warning
for the artpec6 glue driver if that is not enabled:

warning: (PCIE_ARTPEC6) selects PCIE_DW which has unmet direct dependencies (PCI && PCI_MSI_IRQ_DOMAIN)

This adds the same dependency that all other such drivers have.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/pci/host/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Niklas Cassel July 13, 2016, 11:11 p.m. UTC | #1
Acked-by: Niklas Cassel <niklas.cassel@axis.com>


On 07/06/2016 02:46 PM, Arnd Bergmann wrote:
> The designware PCIe driver requires MSI support, so we get a warning
> for the artpec6 glue driver if that is not enabled:
>
> warning: (PCIE_ARTPEC6) selects PCIE_DW which has unmet direct dependencies (PCI && PCI_MSI_IRQ_DOMAIN)
>
> This adds the same dependency that all other such drivers have.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
>  drivers/pci/host/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig
> index c917e2fede05..a1ef0c06dbb4 100644
> --- a/drivers/pci/host/Kconfig
> +++ b/drivers/pci/host/Kconfig
> @@ -258,6 +258,7 @@ config PCIE_ARMADA_8K
>  config PCIE_ARTPEC6
>  	bool "Axis ARTPEC-6 PCIe controller"
>  	depends on MACH_ARTPEC6
> +	depends on PCI_MSI_IRQ_DOMAIN
>  	select PCIE_DW
>  	select PCIEPORTBUS
>  	help

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Bjorn Helgaas July 29, 2016, 10:34 p.m. UTC | #2
On Wed, Jul 06, 2016 at 02:46:04PM +0200, Arnd Bergmann wrote:
> The designware PCIe driver requires MSI support, so we get a warning
> for the artpec6 glue driver if that is not enabled:
> 
> warning: (PCIE_ARTPEC6) selects PCIE_DW which has unmet direct dependencies (PCI && PCI_MSI_IRQ_DOMAIN)
> 
> This adds the same dependency that all other such drivers have.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Applied to pci/host-artpec with Niklas's ack for v4.8.

> ---
>  drivers/pci/host/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig
> index c917e2fede05..a1ef0c06dbb4 100644
> --- a/drivers/pci/host/Kconfig
> +++ b/drivers/pci/host/Kconfig
> @@ -258,6 +258,7 @@ config PCIE_ARMADA_8K
>  config PCIE_ARTPEC6
>  	bool "Axis ARTPEC-6 PCIe controller"
>  	depends on MACH_ARTPEC6
> +	depends on PCI_MSI_IRQ_DOMAIN
>  	select PCIE_DW
>  	select PCIEPORTBUS
>  	help
> -- 
> 2.9.0
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig
index c917e2fede05..a1ef0c06dbb4 100644
--- a/drivers/pci/host/Kconfig
+++ b/drivers/pci/host/Kconfig
@@ -258,6 +258,7 @@  config PCIE_ARMADA_8K
 config PCIE_ARTPEC6
 	bool "Axis ARTPEC-6 PCIe controller"
 	depends on MACH_ARTPEC6
+	depends on PCI_MSI_IRQ_DOMAIN
 	select PCIE_DW
 	select PCIEPORTBUS
 	help