summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-03-30 00:21:32 +0200
committerMatthew Garrett <mjg@redhat.com>2011-05-27 18:35:45 +0200
commit39ddf3bf6463bc86041e806b43e014d50a144aa4 (patch)
tree99ad0be36fec4da3989b51d80b49fc1cc8ebc886 /drivers/platform
parentMerge branch 'upstream/tidy-xen-mmu-2.6.39' of git://git.kernel.org/pub/scm/l... (diff)
downloadlinux-39ddf3bf6463bc86041e806b43e014d50a144aa4.tar.xz
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;