aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mfd/max8907.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/max8907.c b/drivers/mfd/max8907.c
index 2303641dd05..17f2593d82b 100644
--- a/drivers/mfd/max8907.c
+++ b/drivers/mfd/max8907.c
@@ -176,7 +176,7 @@ static const struct regmap_irq_chip max8907_rtc_irq_chip = {
176 .num_irqs = ARRAY_SIZE(max8907_rtc_irqs), 176 .num_irqs = ARRAY_SIZE(max8907_rtc_irqs),
177}; 177};
178 178
179struct max8907 *max8907_pm_off; 179static struct max8907 *max8907_pm_off;
180static void max8907_power_off(void) 180static void max8907_power_off(void)
181{ 181{
182 regmap_update_bits(max8907_pm_off->regmap_gen, MAX8907_REG_RESET_CNFG, 182 regmap_update_bits(max8907_pm_off->regmap_gen, MAX8907_REG_RESET_CNFG,