Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141877
b: refs/heads/master
c: a5f820f
h: refs/heads/master
i:
  141875: 6d3dae3
v: v3
  • Loading branch information
Bjorn Helgaas authored and Len Brown committed Mar 27, 2009
1 parent f816d69 commit 9513fe1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e747f274951507b5a0850155c3d709e26d20de5b
refs/heads/master: a5f820feb54a59fcdaf4a67a6381ea1ddb36cc6e
1 change: 1 addition & 0 deletions trunk/drivers/acpi/bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,7 @@ static int __init acpi_init(void)
dmi_check_system(power_nocheck_dmi_table);

acpi_scan_init();
acpi_ec_init();
return result;
}

Expand Down
7 changes: 1 addition & 6 deletions trunk/drivers/acpi/ec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1069,13 +1069,10 @@ static struct acpi_driver acpi_ec_driver = {
},
};

static int __init acpi_ec_init(void)
int __init acpi_ec_init(void)
{
int result = 0;

if (acpi_disabled)
return 0;

acpi_ec_dir = proc_mkdir(ACPI_EC_CLASS, acpi_root_dir);
if (!acpi_ec_dir)
return -ENODEV;
Expand All @@ -1090,8 +1087,6 @@ static int __init acpi_ec_init(void)
return result;
}

subsys_initcall(acpi_ec_init);

/* EC driver currently not unloadable */
#if 0
static void __exit acpi_ec_exit(void)
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/acpi/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ extern int acpi_power_nocheck;
/* --------------------------------------------------------------------------
Embedded Controller
-------------------------------------------------------------------------- */
int acpi_ec_init(void);
int acpi_ec_ecdt_probe(void);
int acpi_boot_ec_enable(void);

Expand Down

0 comments on commit 9513fe1

Please sign in to comment.