summaryrefslogtreecommitdiffstats
path: root/drivers/power/max8998_charger.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-08-01 01:23:00 +0200
committerAnton Vorontsov <cbouatmailru@gmail.com>2011-08-19 19:03:20 +0200
commitc03bfabb60f5070a1c7299eab38b7bb9df64cb11 (patch)
treeb0bd32aa17031a6a9a99e6c11e6fa284710a5635 /drivers/power/max8998_charger.c
parents3c-adc-battery: Fix compilation error due to missing header (module.h) (diff)
downloadlinux-c03bfabb60f5070a1c7299eab38b7bb9df64cb11.tar.xz
linux-c03bfabb60f5070a1c7299eab38b7bb9df64cb11.zip
max8997_charger&max8998_charger: Fix unterminated platform_device_id tables
The platform_device_id table is supposed to be zero-terminated. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'drivers/power/max8998_charger.c')
-rw-r--r--drivers/power/max8998_charger.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/max8998_charger.c b/drivers/power/max8998_charger.c
index ef8efadb58cb..8ac5fab5a3f4 100644
--- a/drivers/power/max8998_charger.c
+++ b/drivers/power/max8998_charger.c
@@ -189,6 +189,7 @@ static int __devexit max8998_battery_remove(struct platform_device *pdev)
static const struct platform_device_id max8998_battery_id[] = {
{ "max8998-battery", TYPE_MAX8998 },
+ { }
};
static struct platform_driver max8998_battery_driver = {