]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
asus-wmi: Remove __init from asus_wmi_platform_init
authorJoe Perches <joe@perches.com>
Tue, 29 Mar 2011 22:21:32 +0000 (15:21 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Jun 2011 22:05:34 +0000 (15:05 -0700)
commit 39ddf3bf6463bc86041e806b43e014d50a144aa4 upstream.

It's used by a non-init function.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Cc: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/platform/x86/asus-wmi.c

index 832a3fd7c1c8538ef77fd26c628e0ddd2c1644d6..c8c9842753dc8841f3c923c1facb0221567ed624 100644 (file)
@@ -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;