diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-09-21 18:04:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-22 10:17:34 +0300 |
commit | fcfbfd68b36b2bf4e0133dffa316831a5e180199 (patch) | |
tree | 2745d6c8555b6a0697d6a0338ea4bd59c05b3ec5 | |
parent | 9ba62f95965e6ba83ea90f919449ce5f6b01911b (diff) | |
download | linux-fcfbfd68b36b2bf4e0133dffa316831a5e180199.tar.xz |
net: dsa: qca8k: fix non static symbol warning
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>
-rw-r--r-- | drivers/net/dsa/qca8k.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/qca8k.c b/drivers/net/dsa/qca8k.c index 4788a89520dd..6fc379cf12e9 100644 --- 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 = { +static struct regmap_config qca8k_regmap_config = { .reg_bits = 16, .val_bits = 32, .reg_stride = 4, |