diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2012-09-20 18:10:46 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-09-23 22:51:35 +0400 |
commit | 0f471916d4d03503cf6fb696f7c8baf12fec30b9 (patch) | |
tree | 8f1b4c1e82ca1e0733da9985663b473a665da9a5 /drivers/mfd/max8907.c | |
parent | eea6b7cc53aaecf868e1643058159807c744e04e (diff) | |
download | linux-0f471916d4d03503cf6fb696f7c8baf12fec30b9.tar.xz |
mfd: Fix max8907 sparse warning
This fixes:
drivers/mfd/max8907.c:179:16: sparse: symbol 'max8907_pm_off' was not declared. Should it be static?
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/max8907.c')
-rw-r--r-- | drivers/mfd/max8907.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/max8907.c b/drivers/mfd/max8907.c index 2303641dd052..17f2593d82b8 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 = { .num_irqs = ARRAY_SIZE(max8907_rtc_irqs), }; -struct max8907 *max8907_pm_off; +static struct max8907 *max8907_pm_off; static void max8907_power_off(void) { regmap_update_bits(max8907_pm_off->regmap_gen, MAX8907_REG_RESET_CNFG, |