diff mbox

[1/2] ARM: shmobile: marzen: fixup smsc911x id for regulator

Message ID 87wr0hxhsp.wl%kuninori.morimoto.gx@renesas.com (mailing list archive)
State Accepted
Delegated to: Simon Horman
Headers show

Commit Message

Kuninori Morimoto Aug. 30, 2012, 1:58 a.m. UTC
dummy_supplies for smsc911x are registered as "smsc911x".
smsc911x driver needs id = -1

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 arch/arm/mach-shmobile/board-marzen.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Simon Horman Aug. 30, 2012, 5:18 a.m. UTC | #1
On Wed, Aug 29, 2012 at 06:58:01PM -0700, Kuninori Morimoto wrote:
> dummy_supplies for smsc911x are registered as "smsc911x".
> smsc911x driver needs id = -1
> 
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Thanks. This seems to effect 3.6-rc3 so I have added
it to a new fixes branch of my renesas tree and will
endeavour to get it included in 3.6.

> ---
>  arch/arm/mach-shmobile/board-marzen.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-shmobile/board-marzen.c b/arch/arm/mach-shmobile/board-marzen.c
> index 00b1816..a34d13e 100644
> --- a/arch/arm/mach-shmobile/board-marzen.c
> +++ b/arch/arm/mach-shmobile/board-marzen.c
> @@ -78,7 +78,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,
>  	},
> -- 
> 1.7.9.5
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/mach-shmobile/board-marzen.c b/arch/arm/mach-shmobile/board-marzen.c
index 00b1816..a34d13e 100644
--- a/arch/arm/mach-shmobile/board-marzen.c
+++ b/arch/arm/mach-shmobile/board-marzen.c
@@ -78,7 +78,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,
 	},