summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/bridge/sii902x.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-06-14 23:36:23 +0800
committerAndrzej Hajda <a.hajda@samsung.com>2019-07-04 09:45:20 +0200
commitf1513d20b9f17c4a9fbc641289e880eb2f879632 (patch)
treeb1177a9025e6b926a6e703b2098d78e7a5ea381b /drivers/gpu/drm/bridge/sii902x.c
parent415d2e9e07574d3de63b8df77dc686e0ebf64865 (diff)
drm/bridge: sii902x: Make sii902x_audio_digital_mute static
Fix sparse warning: drivers/gpu/drm/bridge/sii902x.c:665:5: warning: symbol 'sii902x_audio_digital_mute' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190614153623.28708-1-yuehaibing@huawei.com
Diffstat (limited to 'drivers/gpu/drm/bridge/sii902x.c')
-rw-r--r--drivers/gpu/drm/bridge/sii902x.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bridge/sii902x.c b/drivers/gpu/drm/bridge/sii902x.c
index dd7aa466b280..c2f97e5997a1 100644
--- a/drivers/gpu/drm/bridge/sii902x.c
+++ b/drivers/gpu/drm/bridge/sii902x.c
@@ -662,7 +662,8 @@ static void sii902x_audio_shutdown(struct device *dev, void *data)
clk_disable_unprepare(sii902x->audio.mclk);
}
-int sii902x_audio_digital_mute(struct device *dev, void *data, bool enable)
+static int sii902x_audio_digital_mute(struct device *dev,
+ void *data, bool enable)
{
struct sii902x *sii902x = dev_get_drvdata(dev);