summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/dell-wmi.c
diff options
context:
space:
mode:
authorDarren Hart (VMware) <dvhart@infradead.org>2018-03-13 07:28:00 +0100
committerDarren Hart (VMware) <dvhart@infradead.org>2018-03-14 19:05:53 +0100
commit49368c13217f3b4d2e2d168e88b16c74910ad0ae (patch)
tree165120526e7377d8c26a2f07dd0ab2986c49117c /drivers/platform/x86/dell-wmi.c
parentplatform/x86: dell-smbios: Resolve dependency error on ACPI_WMI (diff)
downloadlinux-49368c13217f3b4d2e2d168e88b16c74910ad0ae.tar.xz
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/platform/x86/dell-wmi.c')
-rw-r--r--drivers/platform/x86/dell-wmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c
index 2c9927430d85..8d102195a392 100644
--- a/drivers/platform/x86/dell-wmi.c
+++ b/drivers/platform/x86/dell-wmi.c
@@ -714,7 +714,7 @@ static int __init dell_wmi_init(void)
return wmi_driver_register(&dell_wmi_driver);
}
-module_init(dell_wmi_init);
+late_initcall(dell_wmi_init);
static void __exit dell_wmi_exit(void)
{