]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: Fix dell driver init order
authorDarren Hart (VMware) <dvhart@infradead.org>
Tue, 13 Mar 2018 06:28:00 +0000 (23:28 -0700)
committerDarren Hart (VMware) <dvhart@infradead.org>
Wed, 14 Mar 2018 18:05:53 +0000 (11:05 -0700)
commitf410181859856d7cc3444c08d466d7d3786cdc14
tree165120526e7377d8c26a2f07dd0ab2986c49117c
parentd4a5a854bc447f36290b443beca8ae87be4440c8
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>
drivers/firmware/dcdbas.c
drivers/platform/x86/dell-smbios-base.c
drivers/platform/x86/dell-wmi.c