aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorLee, Chun-Yi <[email protected]>2011-05-26 11:09:19 +0800
committerMatthew Garrett <[email protected]>2011-05-27 12:38:50 -0400
commitd436514e21b827ab602d1714028c34179c42d09f (patch)
tree10701120968b89e80283b2dab659ed40f491b12e /tools/perf/util/scripting-engines/trace-event-python.c
parent6d88ff0f8ef3529f68233d3963b2a7e07f8e4f69 (diff)
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 <[email protected]> Cc: Dmitry Torokhov <[email protected]> Cc: Corentin Chary <[email protected]> Cc: Thomas Renninger <[email protected]> Signed-off-by: Lee, Chun-Yi <[email protected]> Signed-off-by: Matthew Garrett <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions