summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-03-29 15:21:32 -0700
committerMatthew Garrett <mjg@redhat.com>2011-05-27 12:35:45 -0400
commit39ddf3bf6463bc86041e806b43e014d50a144aa4 (patch)
tree99ad0be36fec4da3989b51d80b49fc1cc8ebc886 /drivers/platform
parentdc7acbb2518f250050179c8581a972df3b6a24f1 (diff)
downloadlinux-39ddf3bf6463bc86041e806b43e014d50a144aa4.tar.gz
linux-39ddf3bf6463bc86041e806b43e014d50a144aa4.tar.bz2
linux-39ddf3bf6463bc86041e806b43e014d50a144aa4.zip
asus-wmi: Remove __init from asus_wmi_platform_init
It's used by a non-init function. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/asus-wmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c
index 832a3fd7c1c8..c8c9842753dc 100644
--- 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;