Jelajahi Sumber

ARM: ux500: Disable SMSC911x platform code registration when DT is enabled

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>
Lee Jones 13 tahun lalu
induk
melakukan
f58546a17c
1 mengubah file dengan 0 tambahan dan 1 penghapusan
  1. 0 1
      arch/arm/mach-ux500/board-mop500.c

+ 0 - 1
arch/arm/mach-ux500/board-mop500.c

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