summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/internal.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2009-03-24 23:49:48 +0100
committerLen Brown <len.brown@intel.com>2009-03-27 17:50:02 +0100
commita5f820feb54a59fcdaf4a67a6381ea1ddb36cc6e (patch)
treef8a9546077306e87fd55f470860b4e15f53539c2 /drivers/acpi/internal.h
parentACPI: call acpi_scan_init() explicitly rather than as initcall (diff)
downloadlinux-a5f820feb54a59fcdaf4a67a6381ea1ddb36cc6e.tar.xz
linux-a5f820feb54a59fcdaf4a67a6381ea1ddb36cc6e.zip
ACPI: call acpi_ec_init() explicitly rather than as initcall
This patch makes acpi_init() call acpi_ec_init() directly. Previously, both were subsys_initcalls. acpi_ec_init() must happen after acpi_init(), and it's better to call it explicitly rather than rely on link ordering. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> CC: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to '')
-rw-r--r--drivers/acpi/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h
index 28042c0f2fff..fad8e38ed271 100644
--- a/drivers/acpi/internal.h
+++ b/drivers/acpi/internal.h
@@ -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);