power_supply: fix unterminated platform_device_id table for max8997_charger and max8998_charger
PATCH 1/1 power_supply: fix unterminated platform_device_id table for max8997_charger and max8998_charger
The platform_device_id table is supposed to be zero-terminated.
Signed-off-by Axel Lin <[email protected]>
--- drivers/power/max8997_charger.c | 1 + drivers/power/max8998_charger.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)
drivers/power/max8997_charger.c +1 -0
@@ -177,6 +177,7 @@ static int __devexit max8997_battery_remove(struct platform_device *pdev)static const struct platform_device_id max8997_battery_id[] = { {"max8997-battery" ,0 }, + { } };static struct platform_driver max8997_battery_driver = {
drivers/power/max8998_charger.c +1 -0
@@ -188,6 +188,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 = {
Signature · 1 line
1.7.4.1