Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179668
b: refs/heads/master
c: c19bdb6
h: refs/heads/master
v: v3
  • Loading branch information
Rakib Mullick authored and Len Brown committed Jan 16, 2010
1 parent c142984 commit ef4611f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c97adf9e7bebf17a86b95e2131bf9ba76c4857c7
refs/heads/master: c19bdb6126a5e1f43b4a4fc3c4b09c926667e5ef
3 changes: 3 additions & 0 deletions trunk/drivers/acpi/sbs.c
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,10 @@ static int acpi_battery_add(struct acpi_sbs *sbs, int id)

static void acpi_battery_remove(struct acpi_sbs *sbs, int id)
{
#if defined(CONFIG_ACPI_SYSFS_POWER) || defined(CONFIG_ACPI_PROCFS_POWER)
struct acpi_battery *battery = &sbs->battery[id];
#endif

#ifdef CONFIG_ACPI_SYSFS_POWER
if (battery->bat.dev) {
if (battery->have_sysfs_alarm)
Expand Down

0 comments on commit ef4611f

Please sign in to comment.