From: Lee, Chun-Yi Date: Thu, 26 May 2011 03:09:19 +0000 (+0800) Subject: msi-laptop: fix section mismatch in reference from the function load_scm_model_init X-Git-Tag: v3.0-rc1~4^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d436514e21b827ab602d1714028c34179c42d09f;p=pandora-kernel.git msi-laptop: fix section mismatch in reference from the function load_scm_model_init There have section mismatch warning message shows up when building the kernel with make CONFIG_DEBUG_SECTION_MISMATCH=y. The problem is the load_scm_model_init() calls msi_laptop_input_setup() which is an __init function, but load_scm_model_init() lacks a __init annotation. This patch add __init on load_scm_model_init() to avoid warning message. Cc: Matthew Garrett Cc: Dmitry Torokhov Cc: Corentin Chary Cc: Thomas Renninger Signed-off-by: Lee, Chun-Yi Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed