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 17:48:06 +0000 (10:48 -0700)
commit7129707ec2356ef9ef9cce469ad14eb37fbbe67e
treeb8dd1a46c1a5c9ef93e44e161a67c5db6a9e81ec
parent4716007c23abeb0e42015786794539454aff487b
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