Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33417
b: refs/heads/master
c: 4d8316d
h: refs/heads/master
i:
  33415: 3cfef47
v: v3
  • Loading branch information
Pavel Machek authored and Len Brown committed Aug 16, 2006
1 parent d144ca0 commit 1c48174
Show file tree
Hide file tree
Showing 3 changed files with 6 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: 0ee6a17389ceef65f1a86c38872fa98f08489022
refs/heads/master: 4d8316d5ea4dcf0bf15d8a06d539ed7c99e9cfbe
2 changes: 2 additions & 0 deletions trunk/drivers/acpi/ac.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,8 @@ static int __init acpi_ac_init(void)
{
int result;

if (acpi_disabled)
return -ENODEV;

acpi_ac_dir = acpi_lock_ac_dir();
if (!acpi_ac_dir)
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/acpi/battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,9 @@ static int __init acpi_battery_init(void)
{
int result;

if (acpi_disabled)
return -ENODEV;

acpi_battery_dir = acpi_lock_battery_dir();
if (!acpi_battery_dir)
return -ENODEV;
Expand Down

0 comments on commit 1c48174

Please sign in to comment.