diff options
-rw-r--r-- | drivers/firmware/dcdbas.c | 2 | ||||
-rw-r--r-- | drivers/platform/x86/Kconfig | 7 | ||||
-rw-r--r-- | drivers/platform/x86/dell-smbios-base.c | 2 | ||||
-rw-r--r-- | drivers/platform/x86/dell-wmi.c | 2 |
4 files changed, 7 insertions, 6 deletions
diff --git a/drivers/firmware/dcdbas.c b/drivers/firmware/dcdbas.c index c16600f30611..0bdea60c65dd 100644 --- a/drivers/firmware/dcdbas.c +++ b/drivers/firmware/dcdbas.c | |||
@@ -639,7 +639,7 @@ static void __exit dcdbas_exit(void) | |||
639 | platform_driver_unregister(&dcdbas_driver); | 639 | platform_driver_unregister(&dcdbas_driver); |
640 | } | 640 | } |
641 | 641 | ||
642 | module_init(dcdbas_init); | 642 | subsys_initcall_sync(dcdbas_init); |
643 | module_exit(dcdbas_exit); | 643 | module_exit(dcdbas_exit); |
644 | 644 | ||
645 | MODULE_DESCRIPTION(DRIVER_DESCRIPTION " (version " DRIVER_VERSION ")"); | 645 | MODULE_DESCRIPTION(DRIVER_DESCRIPTION " (version " DRIVER_VERSION ")"); |
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index d10ffe51da24..51ebc5a6053f 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig | |||
@@ -106,13 +106,14 @@ config ASUS_LAPTOP | |||
106 | If you have an ACPI-compatible ASUS laptop, say Y or M here. | 106 | If you have an ACPI-compatible ASUS laptop, say Y or M here. |
107 | 107 | ||
108 | # | 108 | # |
109 | # If the DELL_SMBIOS_SMM feature is enabled, the DELL_SMBIOS driver | 109 | # The DELL_SMBIOS driver depends on ACPI_WMI and/or DCDBAS if those |
110 | # becomes dependent on the DCDBAS driver. The "depends" line prevents a | 110 | # backends are selected. The "depends" line prevents a configuration |
111 | # configuration where DELL_SMBIOS=y while DCDBAS=m. | 111 | # where DELL_SMBIOS=y while either of those dependencies =m. |
112 | # | 112 | # |
113 | config DELL_SMBIOS | 113 | config DELL_SMBIOS |
114 | tristate "Dell SMBIOS driver" | 114 | tristate "Dell SMBIOS driver" |
115 | depends on DCDBAS || DCDBAS=n | 115 | depends on DCDBAS || DCDBAS=n |
116 | depends on ACPI_WMI || ACPI_WMI=n | ||
116 | ---help--- | 117 | ---help--- |
117 | This provides support for the Dell SMBIOS calling interface. | 118 | This provides support for the Dell SMBIOS calling interface. |
118 | If you have a Dell computer you should enable this option. | 119 | If you have a Dell computer you should enable this option. |
diff --git a/drivers/platform/x86/dell-smbios-base.c b/drivers/platform/x86/dell-smbios-base.c index 5bcf8a18f785..2485c80a9fdd 100644 --- a/drivers/platform/x86/dell-smbios-base.c +++ b/drivers/platform/x86/dell-smbios-base.c | |||
@@ -637,7 +637,7 @@ static void __exit dell_smbios_exit(void) | |||
637 | mutex_unlock(&smbios_mutex); | 637 | mutex_unlock(&smbios_mutex); |
638 | } | 638 | } |
639 | 639 | ||
640 | subsys_initcall(dell_smbios_init); | 640 | module_init(dell_smbios_init); |
641 | module_exit(dell_smbios_exit); | 641 | module_exit(dell_smbios_exit); |
642 | 642 | ||
643 | MODULE_AUTHOR("Matthew Garrett <mjg@redhat.com>"); | 643 | MODULE_AUTHOR("Matthew Garrett <mjg@redhat.com>"); |
diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c index 2c9927430d85..8d102195a392 100644 --- a/drivers/platform/x86/dell-wmi.c +++ b/drivers/platform/x86/dell-wmi.c | |||
@@ -714,7 +714,7 @@ static int __init dell_wmi_init(void) | |||
714 | 714 | ||
715 | return wmi_driver_register(&dell_wmi_driver); | 715 | return wmi_driver_register(&dell_wmi_driver); |
716 | } | 716 | } |
717 | module_init(dell_wmi_init); | 717 | late_initcall(dell_wmi_init); |
718 | 718 | ||
719 | static void __exit dell_wmi_exit(void) | 719 | static void __exit dell_wmi_exit(void) |
720 | { | 720 | { |