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

Commit d04e779f authored by Wei Yongjun's avatar Wei Yongjun Committed by Linus Walleij
Browse files

gpio: pca953x: Make symbol 'pca953x_i2c_regmap' static



Fixes the following sparse warning:

drivers/gpio/gpio-pca953x.c:292:28: warning:
 symbol 'pca953x_i2c_regmap' was not declared. Should it be static?

Fixes: 49427232 ("gpio: pca953x: Perform basic regmap conversion")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: default avatarMarek Vasut <marex@denx.de>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 86252329
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -289,7 +289,7 @@ static bool pca953x_volatile_register(struct device *dev, unsigned int reg)
	return pca953x_check_register(chip, reg, bank);
}

const struct regmap_config pca953x_i2c_regmap = {
static const struct regmap_config pca953x_i2c_regmap = {
	.reg_bits = 8,
	.val_bits = 8,