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

Commit 1356d86f authored by Colin Ian King's avatar Colin Ian King Committed by Linus Walleij
Browse files

pinctrl: sx150x: make struct sx150x_regmap_config static



The structure sx150x_regmap_config is local to the source and does not
need to be in global scope, so make it static.

Cleans up sparse warning:
symbol 'sx150x_regmap_config' was not declared. Should it be static?

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 161ef8b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1087,7 +1087,7 @@ static bool sx150x_reg_volatile(struct device *dev, unsigned int reg)
	return reg == pctl->data->reg_irq_src || reg == pctl->data->reg_data;
}

const struct regmap_config sx150x_regmap_config = {
static const struct regmap_config sx150x_regmap_config = {
	.reg_bits = 8,
	.val_bits = 32,