We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a420e46 commit 925b108Copy full SHA for 925b108
drivers/platform/x86/wmi.c
@@ -810,7 +810,7 @@ static bool guid_already_parsed(const char *guid_string)
810
/*
811
* Parse the _WDG method for the GUID data blocks
812
*/
813
-static __init acpi_status parse_wdg(acpi_handle handle)
+static acpi_status parse_wdg(acpi_handle handle)
814
{
815
struct acpi_buffer out = {ACPI_ALLOCATE_BUFFER, NULL};
816
union acpi_object *obj;
@@ -959,7 +959,7 @@ static int acpi_wmi_remove(struct acpi_device *device, int type)
959
return 0;
960
}
961
962
-static int __init acpi_wmi_add(struct acpi_device *device)
+static int acpi_wmi_add(struct acpi_device *device)
963
964
acpi_status status;
965
int result = 0;
0 commit comments