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 11:05:53 -0700 |
commit | 49368c13217f3b4d2e2d168e88b16c74910ad0ae (patch) | |
tree | 165120526e7377d8c26a2f07dd0ab2986c49117c /drivers/firmware/dcdbas.c | |
parent | 75073a64a98cecf4b2a81567b31b5a52dd3518bc (diff) | |
download | linux-49368c13217f3b4d2e2d168e88b16c74910ad0ae.tar.gz linux-49368c13217f3b4d2e2d168e88b16c74910ad0ae.tar.bz2 linux-49368c13217f3b4d2e2d168e88b16c74910ad0ae.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/firmware/dcdbas.c')
-rw-r--r-- | drivers/firmware/dcdbas.c | 2 |
1 files changed, 1 insertions, 1 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) platform_driver_unregister(&dcdbas_driver); } -module_init(dcdbas_init); +subsys_initcall_sync(dcdbas_init); module_exit(dcdbas_exit); MODULE_DESCRIPTION(DRIVER_DESCRIPTION " (version " DRIVER_VERSION ")"); |