diff options
author | Darren Hart (VMware) <dvhart@infradead.org> | 2018-03-12 23:28:00 -0700 |
---|---|---|
committer | Darren Hart (VMware) <dvhart@infradead.org> | 2018-03-14 10:48:06 -0700 |
commit | 7129707ec2356ef9ef9cce469ad14eb37fbbe67e (patch) | |
tree | b8dd1a46c1a5c9ef93e44e161a67c5db6a9e81ec /drivers/platform/x86/dell-smbios-base.c | |
parent | 4716007c23abeb0e42015786794539454aff487b (diff) | |
download | lwn-7129707ec2356ef9ef9cce469ad14eb37fbbe67e.tar.gz lwn-7129707ec2356ef9ef9cce469ad14eb37fbbe67e.zip |
platform/x86: Fix dell driver init order
Update the initcall ordering to satisfy the following dependency
ordering:
1. DCDBAS, ACPI_WMI
2. DELL_SMBIOS, DELL_RBTN
3. DELL_LAPTOP, DELL_WMI
By assigning them to the following initcall levels:
subsys_initcall: DCDBAS, ACPI_WMI
module_init: DELL_SMBIOS, DELL_RBTN
late_initcall: DELL_LAPTOP, DELL_WMI
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: Mario.Limonciello@dell.com
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Diffstat (limited to 'drivers/platform/x86/dell-smbios-base.c')
-rw-r--r-- | drivers/platform/x86/dell-smbios-base.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) mutex_unlock(&smbios_mutex); } -subsys_initcall(dell_smbios_init); +module_init(dell_smbios_init); module_exit(dell_smbios_exit); MODULE_AUTHOR("Matthew Garrett <mjg@redhat.com>"); |