aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/scan.c')
-rw-r--r--drivers/acpi/scan.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index f6f52c1a2aba..2ae218f5ea59 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -1545,7 +1545,6 @@ static int acpi_bus_scan_fixed(struct acpi_device *root)
1545 return result; 1545 return result;
1546} 1546}
1547 1547
1548int __init acpi_boot_ec_enable(void);
1549 1548
1550static int __init acpi_scan_init(void) 1549static int __init acpi_scan_init(void)
1551{ 1550{
@@ -1579,9 +1578,6 @@ static int __init acpi_scan_init(void)
1579 */ 1578 */
1580 result = acpi_bus_scan_fixed(acpi_root); 1579 result = acpi_bus_scan_fixed(acpi_root);
1581 1580
1582 /* EC region might be needed at bus_scan, so enable it now */
1583 acpi_boot_ec_enable();
1584
1585 if (!result) 1581 if (!result)
1586 result = acpi_bus_scan(acpi_root, &ops); 1582 result = acpi_bus_scan(acpi_root, &ops);
1587 1583