Преглед изворни кода

ARM: shmobile: kzm9g: correct smsc regulator registration

Correct the name of smsc devices used for regulator registration
allowing the regulators to be found and used.

This eliminates the need for CONFIG_REGULATOR_DUMMY
when CONFIG_REGULATOR is set.

Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Simon Horman пре 12 година
родитељ
комит
48296a13e7
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      arch/arm/mach-shmobile/board-kzm9g.c

+ 2 - 2
arch/arm/mach-shmobile/board-kzm9g.c

@@ -63,8 +63,8 @@
 
 /* Dummy supplies, where voltage doesn't matter */
 static struct regulator_consumer_supply dummy_supplies[] = {
-	REGULATOR_SUPPLY("vddvario", "smsc911x"),
-	REGULATOR_SUPPLY("vdd33a", "smsc911x"),
+	REGULATOR_SUPPLY("vddvario", "smsc911x.0"),
+	REGULATOR_SUPPLY("vdd33a", "smsc911x.0"),
 };
 
 /*