ARM: ux500: Disable SMSC911x platform code registration when DT is enabled
authorLee Jones <lee.jones@linaro.org>
Tue, 24 Apr 2012 09:54:25 +0000 (10:54 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 1 May 2012 22:42:38 +0000 (00:42 +0200)
Now the SCMC911x is correctly enabled in Device Tree, there is no need
to continue registering it from platform code. In fact, if we continue
doing so, the system will throw an error on boot.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/board-mop500.c

index b885f27..f815015 100644 (file)
@@ -605,7 +605,6 @@ static void __init mop500_uart_init(struct device *parent)
 static struct platform_device *snowball_platform_devs[] __initdata = {
        &snowball_led_dev,
        &snowball_key_dev,
-       &snowball_sbnet_dev,
        &ab8500_device,
 };