diff options
author | Len Brown <len.brown@intel.com> | 2008-01-11 12:28:22 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-01-11 12:28:22 -0500 |
commit | 456212017bf21f6bbdf972a5eafab987600956b2 (patch) | |
tree | 59287de8cf87bdbe185b20d94b36a84198c09f33 /drivers/acpi/scan.c | |
parent | 6b74c92521de123b6b3b01a8be432722121d9e8e (diff) | |
parent | c04209a7948b95e8c52084e8595e74e9428653d3 (diff) |
Pull bugzilla-9627 into release branch
Diffstat (limited to 'drivers/acpi/scan.c')
-rw-r--r-- | drivers/acpi/scan.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index 5b4d462117cf..cbfe9ae7a9e5 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c @@ -1449,6 +1449,8 @@ static int acpi_bus_scan_fixed(struct acpi_device *root) return result; } +int __init acpi_boot_ec_enable(void); + static int __init acpi_scan_init(void) { int result; @@ -1480,6 +1482,10 @@ static int __init acpi_scan_init(void) * Enumerate devices in the ACPI namespace. */ result = acpi_bus_scan_fixed(acpi_root); + + /* EC region might be needed at bus_scan, so enable it now */ + acpi_boot_ec_enable(); + if (!result) result = acpi_bus_scan(acpi_root, &ops); |