mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-27 22:51:31 +00:00
Pull battery-2.6.24 into release branch
This commit is contained in:
commit
d020c36685
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ static int acpi_battery_technology(struct acpi_battery *battery)
|
|||
return POWER_SUPPLY_TECHNOLOGY_NiMH;
|
||||
if (!strcasecmp("LION", battery->type))
|
||||
return POWER_SUPPLY_TECHNOLOGY_LION;
|
||||
if (!strcasecmp("LI-ION", battery->type))
|
||||
if (!strncasecmp("LI-ION", battery->type, 6))
|
||||
return POWER_SUPPLY_TECHNOLOGY_LION;
|
||||
if (!strcasecmp("LiP", battery->type))
|
||||
return POWER_SUPPLY_TECHNOLOGY_LIPO;
|
||||
|
|
Loading…
Reference in a new issue