diff options
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/ad193x.c | 6 | ||||
-rw-r--r-- | sound/soc/codecs/ad193x.h | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sound/soc/codecs/ad193x.c b/sound/soc/codecs/ad193x.c index d7426990b66e..d034464e26ff 100644 --- a/sound/soc/codecs/ad193x.c +++ b/sound/soc/codecs/ad193x.c | |||
@@ -285,7 +285,7 @@ static int ad193x_hw_params(struct snd_pcm_substream *substream, | |||
285 | return 0; | 285 | return 0; |
286 | } | 286 | } |
287 | 287 | ||
288 | int ad193x_bus_probe(struct device *dev, void *ctrl_data, int bus_type) | 288 | static int ad193x_bus_probe(struct device *dev, void *ctrl_data, int bus_type) |
289 | { | 289 | { |
290 | struct snd_soc_codec *codec; | 290 | struct snd_soc_codec *codec; |
291 | struct ad193x_priv *ad193x; | 291 | struct ad193x_priv *ad193x; |
@@ -302,16 +302,14 @@ int ad193x_bus_probe(struct device *dev, void *ctrl_data, int bus_type) | |||
302 | 302 | ||
303 | return ad193x_register(ad193x, bus_type); | 303 | return ad193x_register(ad193x, bus_type); |
304 | } | 304 | } |
305 | EXPORT_SYMBOL_GPL(ad193x_bus_probe); | ||
306 | 305 | ||
307 | int ad193x_bus_remove(struct device *dev) | 306 | static int ad193x_bus_remove(struct device *dev) |
308 | { | 307 | { |
309 | struct ad193x_priv *ad193x = dev_get_drvdata(dev); | 308 | struct ad193x_priv *ad193x = dev_get_drvdata(dev); |
310 | 309 | ||
311 | ad193x_unregister(ad193x); | 310 | ad193x_unregister(ad193x); |
312 | return 0; | 311 | return 0; |
313 | } | 312 | } |
314 | EXPORT_SYMBOL_GPL(ad193x_bus_remove); | ||
315 | 313 | ||
316 | static struct snd_soc_dai_ops ad193x_dai_ops = { | 314 | static struct snd_soc_dai_ops ad193x_dai_ops = { |
317 | .hw_params = ad193x_hw_params, | 315 | .hw_params = ad193x_hw_params, |
diff --git a/sound/soc/codecs/ad193x.h b/sound/soc/codecs/ad193x.h index b240d1d67c22..a03c880d52f9 100644 --- a/sound/soc/codecs/ad193x.h +++ b/sound/soc/codecs/ad193x.h | |||
@@ -77,7 +77,5 @@ | |||
77 | 77 | ||
78 | extern struct snd_soc_dai ad193x_dai; | 78 | extern struct snd_soc_dai ad193x_dai; |
79 | extern struct snd_soc_codec_device soc_codec_dev_ad193x; | 79 | extern struct snd_soc_codec_device soc_codec_dev_ad193x; |
80 | extern int ad193x_bus_probe(struct device *dev, void *ctrl_data, int bus_type); | ||
81 | extern int ad193x_bus_remove(struct device *dev); | ||
82 | 80 | ||
83 | #endif | 81 | #endif |