summaryrefslogtreecommitdiff
path: root/drivers/mailbox
diff options
context:
space:
mode:
authorTang Yun ping <typ@rock-chips.com>2015-08-24 10:55:51 +0800
committerTang Yun ping <typ@rock-chips.com>2015-08-24 10:55:51 +0800
commit9ab8fff395b4dcbaa554cb27982ea55ea393e603 (patch)
treee72980eb1aaa82fa576a296fb597b99b55b99dc0 /drivers/mailbox
parent9f169f2e1a47a13c89333dc92b81cb66b6d68931 (diff)
mailbox: rk3868 change max_chan_num attribute to static
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
Diffstat (limited to 'drivers/mailbox')
-rw-r--r--drivers/mailbox/scpi_protocol.c2
1 files changed, 1 insertions, 1 deletions
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);