mailbox: rk3868 change max_chan_num attribute to static

Signed-off-by: Tang Yun ping <typ@rock-chips.com>
This commit is contained in:
Tang Yun ping 2015-08-24 10:55:51 +08:00
parent 9f169f2e1a
commit 9ab8fff395

View 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);