@@ -1358,7 +1358,7 @@ static int pm860x_remove(struct snd_soc_codec *codec)
return 0;
}
-struct regmap *pm860x_get_regmap(struct device *dev)
+static struct regmap *pm860x_get_regmap(struct device *dev)
{
struct pm860x_priv *pm860x = dev_get_drvdata(dev);
@@ -152,7 +152,7 @@ static int cq93vc_remove(struct snd_soc_codec *codec)
return 0;
}
-struct regmap *cq93vc_get_regmap(struct device *dev)
+static struct regmap *cq93vc_get_regmap(struct device *dev)
{
struct davinci_vc *davinci_vc = codec->dev->platform_data;
@@ -727,7 +727,7 @@ static struct snd_soc_dai_driver mc13783_dai_sync[] = {
}
};
-struct regmap *mc13783_get_regmap(struct device *dev)
+static struct regmap *mc13783_get_regmap(struct device *dev)
{
return dev_get_regmap(dev->parent, NULL);
}
@@ -231,7 +231,7 @@ static struct snd_soc_dai_driver si476x_dai = {
.ops = &si476x_dai_ops,
};
-struct regmap *si476x_get_regmap(struct device *dev)
+static struct regmap *si476x_get_regmap(struct device *dev)
{
return dev_get_regmap(dev->parent, NULL);
}
@@ -1798,7 +1798,7 @@ static unsigned int wm5102_digital_vu[] = {
ARIZONA_DAC_DIGITAL_VOLUME_5R,
};
-struct regmap *wm5102_get_regmap(struct device *dev)
+static struct regmap *wm5102_get_regmap(struct device *dev)
{
struct wm5102_priv *priv = dev_get_drvdata(dev);
@@ -1629,7 +1629,7 @@ static unsigned int wm5110_digital_vu[] = {
ARIZONA_DAC_DIGITAL_VOLUME_6R,
};
-struct regmap *wm5110_get_regmap(struct device *dev)
+static struct regmap *wm5110_get_regmap(struct device *dev)
{
struct wm5110_priv *priv = dev_get_drvdata(dev);
@@ -1606,7 +1606,7 @@ static int wm8350_codec_remove(struct snd_soc_codec *codec)
return 0;
}
-struct regmap *wm8350_get_regmap(struct device *dev)
+static struct regmap *wm8350_get_regmap(struct device *dev)
{
struct wm8350 *wm8350 = dev_get_platdata(dev);
@@ -1359,7 +1359,7 @@ static int wm8400_codec_remove(struct snd_soc_codec *codec)
return 0;
}
-struct regmap *wm8400_get_regmap(struct device *dev)
+static struct regmap *wm8400_get_regmap(struct device *dev)
{
struct wm8400 *wm8400 = dev_get_platdata(dev);
@@ -4432,7 +4432,7 @@ static int wm8994_codec_remove(struct snd_soc_codec *codec)
return 0;
}
-struct regmap *wm8994_get_regmap(struct device *dev)
+static struct regmap *wm8994_get_regmap(struct device *dev)
{
struct wm8994 *control = dev_get_drvdata(dev->parent);
@@ -1081,7 +1081,7 @@ static unsigned int wm8997_digital_vu[] = {
ARIZONA_DAC_DIGITAL_VOLUME_5R,
};
-struct regmap *wm8997_get_regmap(struct device *dev)
+static struct regmap *wm8997_get_regmap(struct device *dev)
{
struct wm8997_priv *priv = dev_get_drvdata(dev);