diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-09-21 15:04:43 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-22 03:17:34 -0400 |
commit | fcfbfd68b36b2bf4e0133dffa316831a5e180199 (patch) | |
tree | 2745d6c8555b6a0697d6a0338ea4bd59c05b3ec5 /drivers/net/dsa | |
parent | 9ba62f95965e6ba83ea90f919449ce5f6b01911b (diff) |
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>
Diffstat (limited to 'drivers/net/dsa')
-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, |