aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2016-07-13 09:45:00 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-13 11:15:07 -0300
commitbabbf09185b53c9bd7c63e6059fc9611e9d72aac (patch)
tree35fc7521967f9bd01dda9b8df76ba380f394e2f2 /drivers/staging
parent[media] mtk-vcodec: remove redundant dev_err call in mtk_vcodec_probe() (diff)
downloadlinux-dev-babbf09185b53c9bd7c63e6059fc9611e9d72aac.tar.xz
linux-dev-babbf09185b53c9bd7c63e6059fc9611e9d72aac.zip
[media] pulse8-cec: fix non static symbol warning
Fixes the following sparse warning: drivers/staging/media/pulse8-cec/pulse8-cec.c:427:27: warning: symbol 'pulse8_cec_adap_ops' was not declared. Should it be static? Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/media/pulse8-cec/pulse8-cec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/pulse8-cec/pulse8-cec.c b/drivers/staging/media/pulse8-cec/pulse8-cec.c
index 7d6d5ee64df9..94f8590492dc 100644
--- a/drivers/staging/media/pulse8-cec/pulse8-cec.c
+++ b/drivers/staging/media/pulse8-cec/pulse8-cec.c
@@ -424,7 +424,7 @@ static int pulse8_received(struct cec_adapter *adap, struct cec_msg *msg)
return -ENOMSG;
}
-const struct cec_adap_ops pulse8_cec_adap_ops = {
+static const struct cec_adap_ops pulse8_cec_adap_ops = {
.adap_enable = pulse8_cec_adap_enable,
.adap_log_addr = pulse8_cec_adap_log_addr,
.adap_transmit = pulse8_cec_adap_transmit,