diff options
Diffstat (limited to 'drivers/acpi/bus.c')
| -rw-r--r-- | drivers/acpi/bus.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index bee64b73c91..e8f7b64e92d 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c | |||
| @@ -39,6 +39,8 @@ | |||
| 39 | #include <acpi/acpi_bus.h> | 39 | #include <acpi/acpi_bus.h> |
| 40 | #include <acpi/acpi_drivers.h> | 40 | #include <acpi/acpi_drivers.h> |
| 41 | 41 | ||
| 42 | #include "internal.h" | ||
| 43 | |||
| 42 | #define _COMPONENT ACPI_BUS_COMPONENT | 44 | #define _COMPONENT ACPI_BUS_COMPONENT |
| 43 | ACPI_MODULE_NAME("bus"); | 45 | ACPI_MODULE_NAME("bus"); |
| 44 | 46 | ||
| @@ -846,6 +848,7 @@ static int __init acpi_init(void) | |||
| 846 | acpi_kobj = NULL; | 848 | acpi_kobj = NULL; |
| 847 | } | 849 | } |
| 848 | 850 | ||
| 851 | init_acpi_device_notify(); | ||
| 849 | result = acpi_bus_init(); | 852 | result = acpi_bus_init(); |
| 850 | 853 | ||
| 851 | if (!result) { | 854 | if (!result) { |
| @@ -860,11 +863,23 @@ static int __init acpi_init(void) | |||
| 860 | } | 863 | } |
| 861 | } else | 864 | } else |
| 862 | disable_acpi(); | 865 | disable_acpi(); |
| 866 | |||
| 867 | if (acpi_disabled) | ||
| 868 | return result; | ||
| 869 | |||
| 863 | /* | 870 | /* |
| 864 | * If the laptop falls into the DMI check table, the power state check | 871 | * If the laptop falls into the DMI check table, the power state check |
| 865 | * will be disabled in the course of device power transistion. | 872 | * will be disabled in the course of device power transistion. |
| 866 | */ | 873 | */ |
| 867 | dmi_check_system(power_nocheck_dmi_table); | 874 | dmi_check_system(power_nocheck_dmi_table); |
| 875 | |||
| 876 | acpi_scan_init(); | ||
| 877 | acpi_ec_init(); | ||
| 878 | acpi_power_init(); | ||
| 879 | acpi_system_init(); | ||
| 880 | acpi_debug_init(); | ||
| 881 | acpi_sleep_proc_init(); | ||
| 882 | acpi_wakeup_device_init(); | ||
| 868 | return result; | 883 | return result; |
| 869 | } | 884 | } |
| 870 | 885 | ||
