diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-05-15 09:36:54 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-05-27 12:02:10 -0400 |
commit | 005625fc5d62220242ec488d112e0a97e7fcd7bc (patch) | |
tree | fa64d314138fd36b1b5d6d5f1a1af8f9f33af2ff /drivers/pci | |
parent | 3d9939c92efdd4ced672b94994959ca71b141cb8 (diff) |
pci: mvebu: enable driver usage on Kirkwood
We allow the pci-mvebu driver to be compiled on the Kirkwood platform,
and add the 'marvell,kirkwood-pcie' as a compatible string supported
by the driver.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/host/Kconfig | 2 | ||||
-rw-r--r-- | drivers/pci/host/pci-mvebu.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig index 6918fbc92c02..1f1d67fec8b2 100644 --- a/drivers/pci/host/Kconfig +++ b/drivers/pci/host/Kconfig | |||
@@ -3,6 +3,6 @@ menu "PCI host controller drivers" | |||
3 | 3 | ||
4 | config PCI_MVEBU | 4 | config PCI_MVEBU |
5 | bool "Marvell EBU PCIe controller" | 5 | bool "Marvell EBU PCIe controller" |
6 | depends on ARCH_MVEBU | 6 | depends on ARCH_MVEBU || ARCH_KIRKWOOD |
7 | 7 | ||
8 | endmenu | 8 | endmenu |
diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c index 9236ac0bd17b..c8397c416a71 100644 --- a/drivers/pci/host/pci-mvebu.c +++ b/drivers/pci/host/pci-mvebu.c | |||
@@ -854,6 +854,7 @@ static int __init mvebu_pcie_probe(struct platform_device *pdev) | |||
854 | static const struct of_device_id mvebu_pcie_of_match_table[] = { | 854 | static const struct of_device_id mvebu_pcie_of_match_table[] = { |
855 | { .compatible = "marvell,armada-xp-pcie", }, | 855 | { .compatible = "marvell,armada-xp-pcie", }, |
856 | { .compatible = "marvell,armada-370-pcie", }, | 856 | { .compatible = "marvell,armada-370-pcie", }, |
857 | { .compatible = "marvell,kirkwood-pcie", }, | ||
857 | {}, | 858 | {}, |
858 | }; | 859 | }; |
859 | MODULE_DEVICE_TABLE(of, mvebu_pcie_of_match_table); | 860 | MODULE_DEVICE_TABLE(of, mvebu_pcie_of_match_table); |