From: Tang Yun ping Date: Mon, 24 Aug 2015 02:55:51 +0000 (+0800) Subject: mailbox: rk3868 change max_chan_num attribute to static X-Git-Tag: firefly_0821_release~3833 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9ab8fff395b4dcbaa554cb27982ea55ea393e603;p=firefly-linux-kernel-4.4.55.git mailbox: rk3868 change max_chan_num attribute to static Signed-off-by: Tang Yun ping --- diff --git a/drivers/mailbox/scpi_protocol.c b/drivers/mailbox/scpi_protocol.c index 0404743fc617..771746396501 100644 --- a/drivers/mailbox/scpi_protocol.c +++ b/drivers/mailbox/scpi_protocol.c @@ -48,7 +48,7 @@ #define DVFS_LATENCY(hdr) ((hdr) >> 16) #define DVFS_OPP_COUNT(hdr) (((hdr) >> 8) & 0xff) -int max_chan_num = 0; +static int max_chan_num = 0; static DECLARE_BITMAP(bm_mbox_chans, 4); static DEFINE_MUTEX(scpi_mtx);