From: Kumar Gala Date: Tue, 3 Jun 2014 20:13:22 +0000 (-0500) Subject: tty: serial: msm: Fix section mismatch warning X-Git-Tag: omap-for-v3.16/fixes-rc4~55^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cc29462cfa166b83bf6840a0b3247f505374355;p=pandora-kernel.git tty: serial: msm: Fix section mismatch warning WARNING: drivers/tty/built-in.o(.data+0x3544): Section mismatch in reference from the variable msm_platform_driver to the function .init.text:msm_serial_probe() The variable msm_platform_driver references the function __init msm_serial_probe() If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console Signed-off-by: Kumar Gala Signed-off-by: Arnd Bergmann --- Reading git-diff-tree failed