projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eea6b7c
)
mfd: Fix max8907 sparse warning
author
Fengguang Wu
<fengguang.wu@intel.com>
Thu, 20 Sep 2012 14:10:46 +0000
(16:10 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sun, 23 Sep 2012 18:51:35 +0000
(20:51 +0200)
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>
drivers/mfd/max8907.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/max8907.c
b/drivers/mfd/max8907.c
index 2303641dd052fa652ed2c2264bd0c67e85aa7d42..17f2593d82b87e2571c5e67667fae0b684f57cc9 100644
(file)
--- 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;
+st
atic st
ruct max8907 *max8907_pm_off;
static void max8907_power_off(void)
{
regmap_update_bits(max8907_pm_off->regmap_gen, MAX8907_REG_RESET_CNFG,