aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood/board-dreamplug.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2012-06-10 10:58:11 -0400
committerAndrew Lunn <andrew@lunn.ch>2012-07-27 10:49:29 -0400
commit2cef1a2853aece830586453296e413240961a42b (patch)
tree0c331981ee3d4cb14c9759fdd0ff22b67b2259dc /arch/arm/mach-kirkwood/board-dreamplug.c
parentbe2aa95675e135eb54a32bc49b9fbe0d84d03a30 (diff)
ARM: Kirkwood: Use DT to configure SATA device.
Convert boards using DT, but the old way of configuring SATA to now use properties in there DT file. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Simon Baatz <gmbnomis@gmail.com>
Diffstat (limited to 'arch/arm/mach-kirkwood/board-dreamplug.c')
-rw-r--r--arch/arm/mach-kirkwood/board-dreamplug.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-kirkwood/board-dreamplug.c b/arch/arm/mach-kirkwood/board-dreamplug.c
index eb0e4d5ea668..e49439320b7d 100644
--- a/arch/arm/mach-kirkwood/board-dreamplug.c
+++ b/arch/arm/mach-kirkwood/board-dreamplug.c
@@ -43,10 +43,6 @@ static struct mv643xx_eth_platform_data dreamplug_ge01_data = {
43 .phy_addr = MV643XX_ETH_PHY_ADDR(1), 43 .phy_addr = MV643XX_ETH_PHY_ADDR(1),
44}; 44};
45 45
46static struct mv_sata_platform_data dreamplug_sata_data = {
47 .n_ports = 1,
48};
49
50static struct mvsdio_platform_data dreamplug_mvsdio_data = { 46static struct mvsdio_platform_data dreamplug_mvsdio_data = {
51 /* unfortunately the CD signal has not been connected */ 47 /* unfortunately the CD signal has not been connected */
52}; 48};
@@ -103,7 +99,6 @@ void __init dreamplug_init(void)
103 kirkwood_ehci_init(); 99 kirkwood_ehci_init();
104 kirkwood_ge00_init(&dreamplug_ge00_data); 100 kirkwood_ge00_init(&dreamplug_ge00_data);
105 kirkwood_ge01_init(&dreamplug_ge01_data); 101 kirkwood_ge01_init(&dreamplug_ge01_data);
106 kirkwood_sata_init(&dreamplug_sata_data);
107 kirkwood_sdio_init(&dreamplug_mvsdio_data); 102 kirkwood_sdio_init(&dreamplug_mvsdio_data);
108 103
109 platform_device_register(&dreamplug_leds); 104 platform_device_register(&dreamplug_leds);