Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fcfbfd68 authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller
Browse files

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: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9ba62f95
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,