From: Chris Metcalf Date: Tue, 6 Jul 2010 08:03:16 +0000 (+0000) Subject: hvc_console: use "*_console" nomenclature to avoid modpost warning. X-Git-Tag: v2.6.36-rc1~559^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4455b1191cabbf7ecada800b7cfeccddb0af2b3a;p=pandora-kernel.git hvc_console: use "*_console" nomenclature to avoid modpost warning. The use of "hvc_con_driver" as the name for a file-static "struct console" with a ".setup" field pointing to an __init function causes a modpost warning, since a non-initdata structure points to init code. Using "hvc_console" as the name triggers the hacky "*_console" workaround in modpost to silence the warning, and is the same thing that most of the other console drivers already do. I made the same change in hvsi.c since I happened to notice it was likely to suffer from the same problem. Signed-off-by: Chris Metcalf Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed