projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ba62f9
)
net: dsa: qca8k: fix non static symbol warning
author
Wei Yongjun
<weiyongjun1@huawei.com>
Wed, 21 Sep 2016 15:04:43 +0000
(15:04 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 22 Sep 2016 07:17:34 +0000
(
03:17
-0400)
Fixes the following sparse warning:
drivers/net/dsa/qca8k.c:259:22: warning:
symbol 'qca8k_regmap_config' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/qca8k.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/dsa/qca8k.c
b/drivers/net/dsa/qca8k.c
index 4788a89520ddf66e9e18507a6a0bc64ccd2cfd53..6fc379cf12e96d94ce5bbc343b011bcc5d1075a2 100644
(file)
--- a/
drivers/net/dsa/qca8k.c
+++ b/
drivers/net/dsa/qca8k.c
@@
-256,7
+256,7
@@
static struct regmap_access_table qca8k_readable_table = {
.n_yes_ranges = ARRAY_SIZE(qca8k_readable_ranges),
};
-struct regmap_config qca8k_regmap_config = {
+st
atic st
ruct regmap_config qca8k_regmap_config = {
.reg_bits = 16,
.val_bits = 32,
.reg_stride = 4,