From: Corentin Chary Date: Fri, 1 Jul 2011 09:34:32 +0000 (+0200) Subject: asus-wmi: fix section mismatch X-Git-Tag: firefly_0821_release~3680^2~4706^2~22 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8fe8c25ef92ffc773a49c4b0dab2938a6fd64489;p=firefly-linux-kernel-4.4.55.git asus-wmi: fix section mismatch Signed-off-by: Corentin Chary Signed-off-by: Matthew Garrett --- diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c index 83a7a8101fd6..41a96f2b136e 100644 --- a/drivers/platform/x86/asus-wmi.c +++ b/drivers/platform/x86/asus-wmi.c @@ -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;