* [PATCH] PCI: mvebu: make Marvell PCIe driver depend on OF
@ 2013-08-09 10:35 Thomas Petazzoni
2013-08-09 11:38 ` Ezequiel Garcia
2013-08-09 17:08 ` Bjorn Helgaas
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2013-08-09 10:35 UTC (permalink / raw)
To: linux-arm-kernel
The Marvell PCIe host controller driver is heavily tied to Device Tree
APIs, and can only be used on platforms where the Device Tree is
used. Therefore, it should "depends on OF" to avoid build failures on
!OF configurations.
Reported-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
Bjorn, you can take this one through your tree. Either for 3.11 or
3.12, at your preference.
---
drivers/pci/host/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig
index 1184ff6..e5ba4eb 100644
--- a/drivers/pci/host/Kconfig
+++ b/drivers/pci/host/Kconfig
@@ -4,6 +4,7 @@ menu "PCI host controller drivers"
config PCI_MVEBU
bool "Marvell EBU PCIe controller"
depends on ARCH_MVEBU || ARCH_KIRKWOOD
+ depends on OF
config PCIE_DW
bool
--
1.8.1.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] PCI: mvebu: make Marvell PCIe driver depend on OF
2013-08-09 10:35 [PATCH] PCI: mvebu: make Marvell PCIe driver depend on OF Thomas Petazzoni
@ 2013-08-09 11:38 ` Ezequiel Garcia
2013-08-09 17:08 ` Bjorn Helgaas
1 sibling, 0 replies; 3+ messages in thread
From: Ezequiel Garcia @ 2013-08-09 11:38 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Aug 09, 2013 at 12:35:50PM +0200, Thomas Petazzoni wrote:
> The Marvell PCIe host controller driver is heavily tied to Device Tree
> APIs, and can only be used on platforms where the Device Tree is
> used. Therefore, it should "depends on OF" to avoid build failures on
> !OF configurations.
>
> Reported-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
> ---
> Bjorn, you can take this one through your tree. Either for 3.11 or
> 3.12, at your preference.
> ---
> drivers/pci/host/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig
> index 1184ff6..e5ba4eb 100644
> --- a/drivers/pci/host/Kconfig
> +++ b/drivers/pci/host/Kconfig
> @@ -4,6 +4,7 @@ menu "PCI host controller drivers"
> config PCI_MVEBU
> bool "Marvell EBU PCIe controller"
> depends on ARCH_MVEBU || ARCH_KIRKWOOD
> + depends on OF
>
> config PCIE_DW
> bool
> --
> 1.8.1.2
>
--
Ezequiel Garc?a, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] PCI: mvebu: make Marvell PCIe driver depend on OF
2013-08-09 10:35 [PATCH] PCI: mvebu: make Marvell PCIe driver depend on OF Thomas Petazzoni
2013-08-09 11:38 ` Ezequiel Garcia
@ 2013-08-09 17:08 ` Bjorn Helgaas
1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Helgaas @ 2013-08-09 17:08 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Aug 09, 2013 at 12:35:50PM +0200, Thomas Petazzoni wrote:
> The Marvell PCIe host controller driver is heavily tied to Device Tree
> APIs, and can only be used on platforms where the Device Tree is
> used. Therefore, it should "depends on OF" to avoid build failures on
> !OF configurations.
>
> Reported-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> Bjorn, you can take this one through your tree. Either for 3.11 or
> 3.12, at your preference.
Applied to pci/misc for v3.12, thanks!
> ---
> drivers/pci/host/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig
> index 1184ff6..e5ba4eb 100644
> --- a/drivers/pci/host/Kconfig
> +++ b/drivers/pci/host/Kconfig
> @@ -4,6 +4,7 @@ menu "PCI host controller drivers"
> config PCI_MVEBU
> bool "Marvell EBU PCIe controller"
> depends on ARCH_MVEBU || ARCH_KIRKWOOD
> + depends on OF
>
> config PCIE_DW
> bool
> --
> 1.8.1.2
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-08-09 17:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-09 10:35 [PATCH] PCI: mvebu: make Marvell PCIe driver depend on OF Thomas Petazzoni
2013-08-09 11:38 ` Ezequiel Garcia
2013-08-09 17:08 ` Bjorn Helgaas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).