dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Fengguang Wu 2012-09-20 16:10:46 +02:00 committed by Samuel Ortiz
parent eea6b7cc53
commit 0f471916d4
1 changed files with 1 additions and 1 deletions

View File

@ -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,