[PATCH 04/20] ASoC: Fix build of GTA01 audio driver

Jonas Bonn jonas.bonn at gmail.com
Wed Oct 1 21:47:16 CEST 2008


From: Mark Brown <broonie at opensource.wolfsonmicro.com>

Fix a couple of thinkos introduced during the I2C API update.

Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
 sound/soc/s3c24xx/neo1973_wm8753.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/s3c24xx/neo1973_wm8753.c b/sound/soc/s3c24xx/neo1973_wm8753.c
index 14293de..acccc94 100644
--- a/sound/soc/s3c24xx/neo1973_wm8753.c
+++ b/sound/soc/s3c24xx/neo1973_wm8753.c
@@ -649,7 +649,7 @@ static void lm4857_shutdown(struct i2c_client *dev)
 }
 
 static const struct i2c_device_id lm4857_i2c_id[] = {
-	{ "neo1973_lm4857", 0 }
+	{ "neo1973_lm4857", 0 },
 	{ }
 };
 
@@ -736,7 +736,7 @@ static int __init neo1973_init(void)
 	}
 
 	ret = neo1973_add_lm4857_device(neo1973_snd_device,
-					neo1973_wm8753_setup, 0x7C);
+					0, 0x7C);
 	if (ret != 0)
 		platform_device_unregister(neo1973_snd_device);
 
-- 
1.5.4.3




More information about the openmoko-kernel mailing list