mailbox: rk3868 change max_chan_num attribute to static
authorTang Yun ping <typ@rock-chips.com>
Mon, 24 Aug 2015 02:55:51 +0000 (10:55 +0800)
committerTang Yun ping <typ@rock-chips.com>
Mon, 24 Aug 2015 02:55:51 +0000 (10:55 +0800)
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
drivers/mailbox/scpi_protocol.c

index 0404743fc617362b106e70507a736c3905820251..771746396501eca553c78d859694c0d5f1d4e153 100644 (file)
@@ -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);