Skip to contentSkip to conversation

ARM: S3C64XX: Add registration of WM2200 Bells device on Cragganmore

PATCH New Mark Brown 2 participants 2 messages Nov 26, 2012 – Nov 27, 2012

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ARM: S3C64XX: Add registration of WM2200 Bells device on Cragganmore

---
 arch/arm/mach-s3c64xx/mach-crag6410.c |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
arch/arm/mach-s3c64xx/mach-crag6410.c +8 -2
index 2abe95d..c06bcfa 100644
@@ -287,16 +287,21 @@ static struct platform_device littlemill_device = {
 	.id		= -1,
 };
 
-static struct platform_device bells_wm5102_device = {
+static struct platform_device bells_wm2200_device = {
 	.name		= "bells",
 	.id		= 0,
 };
 
-static struct platform_device bells_wm5110_device = {
+static struct platform_device bells_wm5102_device = {
 	.name		= "bells",
 	.id		= 1,
 };
 
+static struct platform_device bells_wm5110_device = {
+	.name		= "bells",
+	.id		= 2,
+};
+
 static struct regulator_consumer_supply wallvdd_consumers[] = {
 	REGULATOR_SUPPLY("SPKVDD", "1-001a"),
 	REGULATOR_SUPPLY("SPKVDD1", "1-001a"),
@@ -376,6 +381,7 @@ static struct platform_device *crag6410_devices[] __initdata = {
 	&tobermory_device,
 	&littlemill_device,
 	&lowland_device,
+	&bells_wm2200_device,
 	&bells_wm5102_device,
 	&bells_wm5110_device,
 	&wallvdd_device,
Signature · 1 line
1.7.10.4
Applied
#1 lore raw

PATCH 1/1 ARM: S3C64XX: Add registration of WM2200 Bells device on Cragganmore

Quoted 34 lines · Mark Brown
---
  arch/arm/mach-s3c64xx/mach-crag6410.c |   10 ++++++++--
  1 file changed, 8 insertions(+), 2 deletions(-)
arch/arm/mach-s3c64xx/mach-crag6410.c +7 -2
index 2abe95d..c06bcfa 100644
@@ -287,16 +287,21 @@ static struct platform_device littlemill_device = {
  	.id		= -1,
  };
 
-static struct platform_device bells_wm5102_device = {
+static struct platform_device bells_wm2200_device = {
  	.name		= "bells",
  	.id		= 0,
  };
 
-static struct platform_device bells_wm5110_device = {
+static struct platform_device bells_wm5102_device = {
  	.name		= "bells",
  	.id		= 1,
  };
 
+static struct platform_device bells_wm5110_device = {
+	.name		= "bells",
+	.id		= 2,
+};
+
  static struct regulator_consumer_supply wallvdd_consumers[] = {
  	REGULATOR_SUPPLY("SPKVDD", "1-001a"),
  	REGULATOR_SUPPLY("SPKVDD1", "1-001a"),

arch/arm/mach-s3c64xx/mach-crag6410.c static struct platform_device *crag6410_devices[] __initdata = { · line 387

Quoted 7 lines
arch/arm/mach-s3c64xx/mach-crag6410.c +1 -0
@@ -376,6 +381,7 @@ static struct platform_device *crag6410_devices[] __initdata = {
  	&tobermory_device,
  	&littlemill_device,
  	&lowland_device,
+	&bells_wm2200_device,
  	&bells_wm5102_device,
  	&bells_wm5110_device,
  	&wallvdd_device,

Applied, thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.