Blackfin: bf537-stamp: add example ad1937 i2c resources
authorBarry Song <barry.song@analog.com>
Wed, 17 Mar 2010 08:12:30 +0000 (08:12 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 22 Oct 2010 07:48:46 +0000 (03:48 -0400)
Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-bf537/boards/stamp.c

index 62c480e35276e10fb8e5b8ceaf1a4f2c8e34678b..832d3007c92efef80f74bfb3d748a6ae9a6bfe4b 100644 (file)
@@ -1810,6 +1810,12 @@ static struct platform_device ad5398_userspace_consumer_device = {
 #endif
 
 static struct i2c_board_info __initdata bfin_i2c_board_info[] = {
+#if defined(CONFIG_SND_BF5XX_SOC_AD193X) || defined(CONFIG_SND_BF5XX_SOC_AD193X_MODULE)
+       {
+               I2C_BOARD_INFO("ad1937", 0x04),
+       },
+#endif
+
 #if defined(CONFIG_INPUT_AD714X_I2C) || defined(CONFIG_INPUT_AD714X_I2C_MODULE)
        {
                I2C_BOARD_INFO("ad7142_captouch", 0x2C),