Skip to content

Commit fcfbfd6

Browse files
Wei Yongjundavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 9ba62f9 commit fcfbfd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/dsa/qca8k.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ static struct regmap_access_table qca8k_readable_table = {
256256
.n_yes_ranges = ARRAY_SIZE(qca8k_readable_ranges),
257257
};
258258

259-
struct regmap_config qca8k_regmap_config = {
259+
static struct regmap_config qca8k_regmap_config = {
260260
.reg_bits = 16,
261261
.val_bits = 32,
262262
.reg_stride = 4,

0 commit comments

Comments
 (0)