summaryrefslogtreecommitdiff
path: root/drivers/regulator/max77857-regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/max77857-regulator.c')
-rw-r--r--drivers/regulator/max77857-regulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/max77857-regulator.c b/drivers/regulator/max77857-regulator.c
index 58f825d8d2b0..f2141b5be780 100644
--- a/drivers/regulator/max77857-regulator.c
+++ b/drivers/regulator/max77857-regulator.c
@@ -67,7 +67,7 @@ static bool max77857_volatile_reg(struct device *dev, unsigned int reg)
}
}
-struct regmap_config max77857_regmap_config = {
+static struct regmap_config max77857_regmap_config = {
.reg_bits = 8,
.val_bits = 8,
.cache_type = REGCACHE_MAPLE,
@@ -443,7 +443,7 @@ static const struct of_device_id max77857_of_id[] = {
};
MODULE_DEVICE_TABLE(of, max77857_of_id);
-struct i2c_driver max77857_driver = {
+static struct i2c_driver max77857_driver = {
.driver = {
.name = "max77857",
.of_match_table = max77857_of_id,