From d04326d94a1349cc0115b602508c3f49d4a00a13 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Fri, 19 Mar 2010 12:22:03 +0000 Subject: [PATCH] --- yaml --- r: 193359 b: refs/heads/master c: cffce322be94ecdd3bbb74dfd3f3834c51b4232a h: refs/heads/master i: 193357: 22496898d75c9aa1073a5168362f8918dece5607 193355: 216636eb91354ab7a1d687304a95da3c51b083eb 193351: 035f064c3797cff1b4474edc22886c65cb58d483 193343: 8cc5e1ce68805a68f31080d746820ce01023cfd0 v: v3 --- [refs] | 2 +- trunk/sound/soc/codecs/ad193x.c | 6 ++---- trunk/sound/soc/codecs/ad193x.h | 2 -- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index a317c4f0232d..ea0f7e964e70 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a1533d94c6b930ef4263941adfd1e1132ca95627 +refs/heads/master: cffce322be94ecdd3bbb74dfd3f3834c51b4232a diff --git a/trunk/sound/soc/codecs/ad193x.c b/trunk/sound/soc/codecs/ad193x.c index d7426990b66e..d034464e26ff 100644 --- a/trunk/sound/soc/codecs/ad193x.c +++ b/trunk/sound/soc/codecs/ad193x.c @@ -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; @@ -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, diff --git a/trunk/sound/soc/codecs/ad193x.h b/trunk/sound/soc/codecs/ad193x.h index b240d1d67c22..a03c880d52f9 100644 --- a/trunk/sound/soc/codecs/ad193x.h +++ b/trunk/sound/soc/codecs/ad193x.h @@ -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