ARM: S3C64XX: Register audio platform devices for Bells on Cragganmore
Mark Brown [Fri, 10 Aug 2012 04:03:18 +0000 (13:03 +0900)]
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>

arch/arm/mach-s3c64xx/mach-crag6410.c

index 09cd812..a095f7f 100644 (file)
@@ -287,6 +287,16 @@ static struct platform_device littlemill_device = {
        .id             = -1,
 };
 
+static struct platform_device bells_wm5102_device = {
+       .name           = "bells",
+       .id             = 0,
+};
+
+static struct platform_device bells_wm5110_device = {
+       .name           = "bells",
+       .id             = 1,
+};
+
 static struct regulator_consumer_supply wallvdd_consumers[] = {
        REGULATOR_SUPPLY("SPKVDD", "1-001a"),
        REGULATOR_SUPPLY("SPKVDD1", "1-001a"),
@@ -359,6 +369,8 @@ static struct platform_device *crag6410_devices[] __initdata = {
        &tobermory_device,
        &littlemill_device,
        &lowland_device,
+       &bells_wm5102_device,
+       &bells_wm5110_device,
        &wallvdd_device,
 };