Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Wei Yongjun and committed by
David S. Miller
fcfbfd68 9ba62f95

+1 -1
+1 -1
drivers/net/dsa/qca8k.c
··· 256 256 .n_yes_ranges = ARRAY_SIZE(qca8k_readable_ranges), 257 257 }; 258 258 259 - struct regmap_config qca8k_regmap_config = { 259 + static struct regmap_config qca8k_regmap_config = { 260 260 .reg_bits = 16, 261 261 .val_bits = 32, 262 262 .reg_stride = 4,