Title: [9766] trunk/arch/blackfin/mach-bf537/boards/stamp.c: bfin: add ad74111 platform device
- Revision
- 9766
- Author
- scott
- Date
- 2011-03-24 06:29:12 -0400 (Thu, 24 Mar 2011)
Log Message
bfin: add ad74111 platform device
Modified Paths
Diff
Modified: trunk/arch/blackfin/mach-bf537/boards/stamp.c (9765 => 9766)
--- trunk/arch/blackfin/mach-bf537/boards/stamp.c 2011-03-24 10:27:39 UTC (rev 9765)
+++ trunk/arch/blackfin/mach-bf537/boards/stamp.c 2011-03-24 10:29:12 UTC (rev 9766)
@@ -2648,6 +2648,13 @@
};
#endif
+#if defined(CONFIG_SND_BF5XX_SOC_AD74111) || defined(CONFIG_SND_BF5XX_SOC_AD74111_MODULE)
+static struct platform_device bfin_ad74111_codec_device = {
+ .name = "ad74111-codec",
+ .id = -1,
+};
+#endif
+
#if defined(CONFIG_SND_BF5XX_SOC_I2S) || defined(CONFIG_SND_BF5XX_SOC_I2S_MODULE)
static struct platform_device bfin_i2s = {
.name = "bfin-i2s",
@@ -2868,6 +2875,10 @@
&bfin_ad73311_codec_device,
#endif
+#if defined(CONFIG_SND_BF5XX_SOC_AD74111) || defined(CONFIG_SND_BF5XX_SOC_AD74111_MODULE)
+ &bfin_ad74111_codec_device,
+#endif
+
#if defined(CONFIG_SND_BF5XX_SOC_I2S) || defined(CONFIG_SND_BF5XX_SOC_I2S_MODULE)
&bfin_i2s,
#endif
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits