Blackfin: bf537-stamp: register ASoC EVAL-ADAU1373 board driver
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 30 Aug 2011 18:02:50 +0000 (14:02 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 25 Oct 2011 23:51:56 +0000 (19:51 -0400)
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-bf537/boards/stamp.c

index b7a081656a65e0d1189700065d8d57f14cbb2d44..f74ee6bbb246ab7ef2c72c5535f695056e429f17 100644 (file)
@@ -2674,6 +2674,13 @@ static struct platform_device iio_gpio_trigger = {
 };
 #endif
 
+#if defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1373) || \
+       defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1373_MODULE)
+static struct platform_device bf5xx_adau1373_device = {
+       .name = "bfin-eval-adau1373",
+};
+#endif
+
 #if defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1701) || \
        defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1701_MODULE)
 static struct platform_device bf5xx_adau1701_device = {
@@ -2842,6 +2849,11 @@ static struct platform_device *stamp_devices[] __initdata = {
        &iio_gpio_trigger,
 #endif
 
+#if defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1373) || \
+       defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1373_MODULE)
+       &bf5xx_adau1373_device,
+#endif
+
 #if defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1701) || \
        defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1701_MODULE)
        &bf5xx_adau1701_device,