aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-19 08:22:03 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-19 08:22:03 -0400
commitcffce322be94ecdd3bbb74dfd3f3834c51b4232a (patch)
tree9f9bf7af6ef79a06b898712dcbe5ae21288bf832
parenta1533d94c6b930ef4263941adfd1e1132ca95627 (diff)
ASoC: Unexport AD193x bus probe/remove functions
The export is not needed since the per-bus code lives in the same module. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
-rw-r--r--sound/soc/codecs/ad193x.c6
-rw-r--r--sound/soc/codecs/ad193x.h2
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
288int ad193x_bus_probe(struct device *dev, void *ctrl_data, int bus_type) 288static 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}
305EXPORT_SYMBOL_GPL(ad193x_bus_probe);
306 305
307int ad193x_bus_remove(struct device *dev) 306static 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}
314EXPORT_SYMBOL_GPL(ad193x_bus_remove);
315 313
316static struct snd_soc_dai_ops ad193x_dai_ops = { 314static 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
78extern struct snd_soc_dai ad193x_dai; 78extern struct snd_soc_dai ad193x_dai;
79extern struct snd_soc_codec_device soc_codec_dev_ad193x; 79extern struct snd_soc_codec_device soc_codec_dev_ad193x;
80extern int ad193x_bus_probe(struct device *dev, void *ctrl_data, int bus_type);
81extern int ad193x_bus_remove(struct device *dev);
82 80
83#endif 81#endif