]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
asus-wmi: fix section mismatch
authorCorentin Chary <corentin.chary@gmail.com>
Fri, 1 Jul 2011 09:34:32 +0000 (11:34 +0200)
committerMatthew Garrett <mjg@redhat.com>
Mon, 11 Jul 2011 13:43:25 +0000 (09:43 -0400)
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/asus-wmi.c

index 07ebfe5a51bf93644986d4be8161836ba9e73192..2d573bd501b4c1046e0717605b097c74120bf9e5 100644 (file)
@@ -1712,7 +1712,7 @@ static int asus_wmi_probe(struct platform_device *pdev)
 
 static bool used;
 
-int asus_wmi_register_driver(struct asus_wmi_driver *driver)
+int __init_or_module asus_wmi_register_driver(struct asus_wmi_driver *driver)
 {
        struct platform_driver *platform_driver;
        struct platform_device *platform_device;