From: Kuninori Morimoto Date: Thu, 30 Aug 2012 01:58:01 +0000 (-0700) Subject: ARM: shmobile: marzen: fixup smsc911x id for regulator X-Git-Tag: Ubuntu-5.10.0-12.13~20752^2~2^2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=497dcf6fc355f0734faf851662b6957386715d24;p=mirror_ubuntu-hirsute-kernel.git ARM: shmobile: marzen: fixup smsc911x id for regulator dummy_supplies for smsc911x are registered as "smsc911x". smsc911x driver needs id = -1 Signed-off-by: Kuninori Morimoto Signed-off-by: Simon Horman --- diff --git a/arch/arm/mach-shmobile/board-marzen.c b/arch/arm/mach-shmobile/board-marzen.c index 3a528cf4366c..fcf5a47f4772 100644 --- a/arch/arm/mach-shmobile/board-marzen.c +++ b/arch/arm/mach-shmobile/board-marzen.c @@ -67,7 +67,7 @@ static struct smsc911x_platform_config smsc911x_platdata = { static struct platform_device eth_device = { .name = "smsc911x", - .id = 0, + .id = -1, .dev = { .platform_data = &smsc911x_platdata, },