projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
power: max17040: Add ID for MAX77836 Fuel Gauge block
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
power
/
max17040_battery.c
diff --git
a/drivers/power/max17040_battery.c
b/drivers/power/max17040_battery.c
index 0fbac861080dac5cd6c4f62dc59338444205a60a..14d44706327bca64fc487a4a057a4c2a0c130b1d 100644
(file)
--- a/
drivers/power/max17040_battery.c
+++ b/
drivers/power/max17040_battery.c
@@
-277,7
+277,8
@@
static SIMPLE_DEV_PM_OPS(max17040_pm_ops, max17040_suspend, max17040_resume);
#endif /* CONFIG_PM_SLEEP */
static const struct i2c_device_id max17040_id[] = {
- { "max17040", 0 },
+ { "max17040" },
+ { "max77836-battery" },
{ }
};
MODULE_DEVICE_TABLE(i2c, max17040_id);