diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-05-15 09:36:57 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-05-27 12:02:11 -0400 |
commit | 36e5722089ad757e9d15cd3b394389042cb28003 (patch) | |
tree | b3917fb794fbb88e7d0c4ea563c7bc7166982804 /arch/arm/mach-kirkwood | |
parent | 670ee03ccc29b3a14c6cbe04241c903342442c23 (diff) |
arm: kirkwood: convert Iomega Iconnect to use DT for the PCIe interface
Now that the PCIe mvebu driver is usable on Kirkwood, use it instead
of the legacy PCIe code, since it allows to describe the PCIe
interfaces in the Device Tree.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-kirkwood')
-rw-r--r-- | arch/arm/mach-kirkwood/board-iconnect.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-kirkwood/board-iconnect.c b/arch/arm/mach-kirkwood/board-iconnect.c index c8ebde4919e2..98b5ad1bba90 100644 --- a/arch/arm/mach-kirkwood/board-iconnect.c +++ b/arch/arm/mach-kirkwood/board-iconnect.c | |||
@@ -22,11 +22,3 @@ void __init iconnect_init(void) | |||
22 | { | 22 | { |
23 | kirkwood_ge00_init(&iconnect_ge00_data); | 23 | kirkwood_ge00_init(&iconnect_ge00_data); |
24 | } | 24 | } |
25 | |||
26 | static int __init iconnect_pci_init(void) | ||
27 | { | ||
28 | if (of_machine_is_compatible("iom,iconnect")) | ||
29 | kirkwood_pcie_init(KW_PCIE0); | ||
30 | return 0; | ||
31 | } | ||
32 | subsys_initcall(iconnect_pci_init); | ||