projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a420e46
)
X86 platform driver: Fix section mismatch in wmi.c
author
Thomas Renninger
<
[email protected]
>
Fri, 16 Jul 2010 11:11:36 +0000
(13:11 +0200)
committer
Matthew Garrett
<
[email protected]
>
Tue, 3 Aug 2010 13:49:07 +0000
(09:49 -0400)
The .add function must not be declared __init.
Signed-off-by: Thomas Renninger <
[email protected]
>
CC: Alexey Starikovskiy <
[email protected]
>
CC: Len Brown <
[email protected]
>
CC:
[email protected]
CC:
[email protected]
CC:
[email protected]
Signed-off-by: Matthew Garrett <
[email protected]
>
drivers/platform/x86/wmi.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/wmi.c
b/drivers/platform/x86/wmi.c
index 6c15720be6a42d8c89ff1bc27f3cbfb2e68150a9..b2978a04317f9de32755a719b4c7abe215e588b6 100644
(file)
--- a/
drivers/platform/x86/wmi.c
+++ b/
drivers/platform/x86/wmi.c
@@
-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;