diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-09-21 17:04:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-22 09:17:34 +0200 |
commit | fcfbfd68b36b2bf4e0133dffa316831a5e180199 (patch) | |
tree | 2745d6c8555b6a0697d6a0338ea4bd59c05b3ec5 /drivers/net/dsa/qca8k.c | |
parent | Merge branch 'sctp-align' (diff) | |
download | linux-fcfbfd68b36b2bf4e0133dffa316831a5e180199.tar.xz linux-fcfbfd68b36b2bf4e0133dffa316831a5e180199.zip |
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/qca8k.c')
-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, |