Skip to content

Commit

Permalink
ASoC: Unexport AD193x bus probe/remove functions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown committed Mar 19, 2010
1 parent a1533d9 commit cffce32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 2 additions & 4 deletions sound/soc/codecs/ad193x.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ static int ad193x_hw_params(struct snd_pcm_substream *substream,
return 0;
}

int ad193x_bus_probe(struct device *dev, void *ctrl_data, int bus_type)
static int ad193x_bus_probe(struct device *dev, void *ctrl_data, int bus_type)
{
struct snd_soc_codec *codec;
struct ad193x_priv *ad193x;
Expand All @@ -302,16 +302,14 @@ int ad193x_bus_probe(struct device *dev, void *ctrl_data, int bus_type)

return ad193x_register(ad193x, bus_type);
}
EXPORT_SYMBOL_GPL(ad193x_bus_probe);

int ad193x_bus_remove(struct device *dev)
static int ad193x_bus_remove(struct device *dev)
{
struct ad193x_priv *ad193x = dev_get_drvdata(dev);

ad193x_unregister(ad193x);
return 0;
}
EXPORT_SYMBOL_GPL(ad193x_bus_remove);

static struct snd_soc_dai_ops ad193x_dai_ops = {
.hw_params = ad193x_hw_params,
Expand Down
2 changes: 0 additions & 2 deletions sound/soc/codecs/ad193x.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,5 @@

extern struct snd_soc_dai ad193x_dai;
extern struct snd_soc_codec_device soc_codec_dev_ad193x;
extern int ad193x_bus_probe(struct device *dev, void *ctrl_data, int bus_type);
extern int ad193x_bus_remove(struct device *dev);

#endif

0 comments on commit cffce32

Please sign in to comment.