diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2010-07-06 08:03:16 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-07-09 11:28:24 +1000 |
commit | 4455b1191cabbf7ecada800b7cfeccddb0af2b3a (patch) | |
tree | 3c9ddd34f60718085050f63b59a51a90b596d806 /mm/sparse-vmemmap.c | |
parent | 32d8ad4e621d6620e925cf540ef1d35aa6fa5a7b (diff) | |
download | linux-4455b1191cabbf7ecada800b7cfeccddb0af2b3a.tar.gz linux-4455b1191cabbf7ecada800b7cfeccddb0af2b3a.tar.bz2 linux-4455b1191cabbf7ecada800b7cfeccddb0af2b3a.zip |
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 <cmetcalf@tilera.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'mm/sparse-vmemmap.c')
0 files changed, 0 insertions, 0 deletions