projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f169f2
)
mailbox: rk3868 change max_chan_num attribute to static
author
Tang Yun ping
<typ@rock-chips.com>
Mon, 24 Aug 2015 02:55:51 +0000
(10:55 +0800)
committer
Tang 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
patch
|
blob
|
history
diff --git
a/drivers/mailbox/scpi_protocol.c
b/drivers/mailbox/scpi_protocol.c
index 0404743fc617362b106e70507a736c3905820251..771746396501eca553c78d859694c0d5f1d4e153 100644
(file)
--- 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);