[media] pulse8-cec: fix non static symbol warning
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 13 Jul 2016 12:45:00 +0000 (09:45 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 13 Jul 2016 14:15:07 +0000 (11:15 -0300)
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>
drivers/staging/media/pulse8-cec/pulse8-cec.c

index 7d6d5ee64df90af744fc9cde47cb4d7cfba67a0d..94f8590492dcd1d8b771956d1720f4a7b1191a00 100644 (file)
@@ -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,