Commit 925b1089 authored by Thomas Renninger's avatar Thomas Renninger Committed by Matthew Garrett

X86 platform driver: Fix section mismatch in wmi.c

The .add function must not be declared __init.
Signed-off-by: default avatarThomas Renninger <>

CC: Alexey Starikovskiy <>
CC: Len Brown <>
Signed-off-by: default avatarMatthew Garrett <>
parent a420e464
......@@ -810,7 +810,7 @@ static bool guid_already_parsed(const char *guid_string)
* Parse the _WDG method for the GUID data blocks
static __init acpi_status parse_wdg(acpi_handle handle)
static acpi_status parse_wdg(acpi_handle handle)
struct acpi_buffer out = {ACPI_ALLOCATE_BUFFER, NULL};
union acpi_object *obj;
......@@ -959,7 +959,7 @@ static int acpi_wmi_remove(struct acpi_device *device, int type)
return 0;
static int __init acpi_wmi_add(struct acpi_device *device)
static int acpi_wmi_add(struct acpi_device *device)
acpi_status status;
int result = 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment