OSDN Git Service

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)
commit49368c13217f3b4d2e2d168e88b16c74910ad0ae
tree165120526e7377d8c26a2f07dd0ab2986c49117c
parent75073a64a98cecf4b2a81567b31b5a52dd3518bc
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