summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood/board-dreamplug.c
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-12-21 15:49:11 +0100
committerArnd Bergmann <arnd@arndb.de>2013-02-28 18:57:10 +0100
commita49da46c5274228334393083a6635d04eee04363 (patch)
treea6d697d635eebd596538f5daa6a0f8fd73cc1304 /arch/arm/mach-kirkwood/board-dreamplug.c
parentec05fcf679fe97994b5355ebf1d7d8cb0020eacf (diff)
downloadop-kernel-dev-a49da46c5274228334393083a6635d04eee04363.zip
op-kernel-dev-a49da46c5274228334393083a6635d04eee04363.tar.gz
arm: kirkwood: dreamplug: use Device Tree to probe SDIO
Now that the mvsdio driver has a Device Tree binding, and the SDIO controller is declared in kirkwood.dtsi, migrate the dreamplug board to use the Device Tree to probe the SDIO controller and to mux this interface properly. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/board-dreamplug.c')
-rw-r--r--arch/arm/mach-kirkwood/board-dreamplug.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-kirkwood/board-dreamplug.c b/arch/arm/mach-kirkwood/board-dreamplug.c
index 08248e2..0903242 100644
--- a/arch/arm/mach-kirkwood/board-dreamplug.c
+++ b/arch/arm/mach-kirkwood/board-dreamplug.c
@@ -15,7 +15,6 @@
#include <linux/init.h>
#include <linux/mv643xx_eth.h>
#include <linux/gpio.h>
-#include <linux/platform_data/mmc-mvsdio.h>
#include "common.h"
static struct mv643xx_eth_platform_data dreamplug_ge00_data = {
@@ -26,10 +25,6 @@ static struct mv643xx_eth_platform_data dreamplug_ge01_data = {
.phy_addr = MV643XX_ETH_PHY_ADDR(1),
};
-static struct mvsdio_platform_data dreamplug_mvsdio_data = {
- /* unfortunately the CD signal has not been connected */
-};
-
void __init dreamplug_init(void)
{
/*
@@ -37,5 +32,4 @@ void __init dreamplug_init(void)
*/
kirkwood_ge00_init(&dreamplug_ge00_data);
kirkwood_ge01_init(&dreamplug_ge01_data);
- kirkwood_sdio_init(&dreamplug_mvsdio_data);
}
OpenPOWER on IntegriCloud