aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/da7210.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sound/soc/codecs/da7210.c b/sound/soc/codecs/da7210.c
index eabf3c062500..58bb9b994811 100644
--- a/sound/soc/codecs/da7210.c
+++ b/sound/soc/codecs/da7210.c
@@ -454,7 +454,7 @@ static int da7210_probe(struct snd_soc_codec *codec)
454 454
455 dev_info(codec->dev, "DA7210 Audio Codec %s\n", DA7210_VERSION); 455 dev_info(codec->dev, "DA7210 Audio Codec %s\n", DA7210_VERSION);
456 456
457 codec->control_data = da7210->control_data; 457 codec->control_data = da7210->control_data;
458 codec->hw_write = (hw_write_t)i2c_master_send; 458 codec->hw_write = (hw_write_t)i2c_master_send;
459 459
460 /* FIXME 460 /* FIXME
@@ -547,11 +547,11 @@ static int da7210_probe(struct snd_soc_codec *codec)
547} 547}
548 548
549static struct snd_soc_codec_driver soc_codec_dev_da7210 = { 549static struct snd_soc_codec_driver soc_codec_dev_da7210 = {
550 .probe = da7210_probe, 550 .probe = da7210_probe,
551 .read = da7210_read, 551 .read = da7210_read,
552 .write = da7210_write, 552 .write = da7210_write,
553 .reg_cache_size = ARRAY_SIZE(da7210_reg), 553 .reg_cache_size = ARRAY_SIZE(da7210_reg),
554 .reg_word_size = sizeof(u8), 554 .reg_word_size = sizeof(u8),
555 .reg_cache_default = da7210_reg, 555 .reg_cache_default = da7210_reg,
556}; 556};
557 557
@@ -597,9 +597,9 @@ static struct i2c_driver da7210_i2c_driver = {
597 .name = "da7210-codec", 597 .name = "da7210-codec",
598 .owner = THIS_MODULE, 598 .owner = THIS_MODULE,
599 }, 599 },
600 .probe = da7210_i2c_probe, 600 .probe = da7210_i2c_probe,
601 .remove = __devexit_p(da7210_i2c_remove), 601 .remove = __devexit_p(da7210_i2c_remove),
602 .id_table = da7210_i2c_id, 602 .id_table = da7210_i2c_id,
603}; 603};
604#endif 604#endif
605 605