projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc7acbb
)
asus-wmi: Remove __init from asus_wmi_platform_init
author
Joe Perches
<joe@perches.com>
Tue, 29 Mar 2011 22:21:32 +0000
(15:21 -0700)
committer
Matthew Garrett
<mjg@redhat.com>
Fri, 27 May 2011 16:35:45 +0000
(12:35 -0400)
It's used by a non-init function.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/asus-wmi.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/asus-wmi.c
b/drivers/platform/x86/asus-wmi.c
index 832a3fd7c1c8538ef77fd26c628e0ddd2c1644d6..c8c9842753dc8841f3c923c1facb0221567ed624 100644
(file)
--- a/
drivers/platform/x86/asus-wmi.c
+++ b/
drivers/platform/x86/asus-wmi.c
@@
-1223,7
+1223,7
@@
static int asus_wmi_sysfs_init(struct platform_device *device)
/*
* Platform device
*/
-static int
__init
asus_wmi_platform_init(struct asus_wmi *asus)
+static int asus_wmi_platform_init(struct asus_wmi *asus)
{
int rv;