aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8903.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/wm8903.c')
-rw-r--r--sound/soc/codecs/wm8903.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c
index d36b2b1edf19..c6fa8a71b4dd 100644
--- a/sound/soc/codecs/wm8903.c
+++ b/sound/soc/codecs/wm8903.c
@@ -1562,8 +1562,8 @@ static int wm8903_resume(struct platform_device *pdev)
1562 1562
1563static struct snd_soc_codec *wm8903_codec; 1563static struct snd_soc_codec *wm8903_codec;
1564 1564
1565static int wm8903_i2c_probe(struct i2c_client *i2c, 1565static __devinit int wm8903_i2c_probe(struct i2c_client *i2c,
1566 const struct i2c_device_id *id) 1566 const struct i2c_device_id *id)
1567{ 1567{
1568 struct wm8903_priv *wm8903; 1568 struct wm8903_priv *wm8903;
1569 struct snd_soc_codec *codec; 1569 struct snd_soc_codec *codec;
@@ -1669,7 +1669,7 @@ err:
1669 return ret; 1669 return ret;
1670} 1670}
1671 1671
1672static int wm8903_i2c_remove(struct i2c_client *client) 1672static __devexit int wm8903_i2c_remove(struct i2c_client *client)
1673{ 1673{
1674 struct snd_soc_codec *codec = i2c_get_clientdata(client); 1674 struct snd_soc_codec *codec = i2c_get_clientdata(client);
1675 1675
@@ -1699,7 +1699,7 @@ static struct i2c_driver wm8903_i2c_driver = {
1699 .owner = THIS_MODULE, 1699 .owner = THIS_MODULE,
1700 }, 1700 },
1701 .probe = wm8903_i2c_probe, 1701 .probe = wm8903_i2c_probe,
1702 .remove = wm8903_i2c_remove, 1702 .remove = __devexit_p(wm8903_i2c_remove),
1703 .id_table = wm8903_i2c_id, 1703 .id_table = wm8903_i2c_id,
1704}; 1704};
1705 1705