提交 7ca7b5c4 编写于 作者: F Frederik Deweerdt 提交者: Linus Torvalds

[PATCH] mdacon: fix __init section warnings

WARNING: drivers/video/console/mdacon.o - Section mismatch: reference to .init.text: from .text between 'mdacon_startup' (at offset 0x123) and 'mdacon_init'
WARNING: drivers/video/console/mdacon.o - Section mismatch: reference to .init.text: from .text between 'mdacon_startup' (at offset 0x18b) and 'mdacon_init'
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 9578bcf4
...@@ -197,7 +197,7 @@ static int __init mdacon_setup(char *str) ...@@ -197,7 +197,7 @@ static int __init mdacon_setup(char *str)
__setup("mdacon=", mdacon_setup); __setup("mdacon=", mdacon_setup);
#endif #endif
static int __init mda_detect(void) static int mda_detect(void)
{ {
int count=0; int count=0;
u16 *p, p_save; u16 *p, p_save;
...@@ -282,7 +282,7 @@ static int __init mda_detect(void) ...@@ -282,7 +282,7 @@ static int __init mda_detect(void)
return 1; return 1;
} }
static void __init mda_initialize(void) static void mda_initialize(void)
{ {
write_mda_b(97, 0x00); /* horizontal total */ write_mda_b(97, 0x00); /* horizontal total */
write_mda_b(80, 0x01); /* horizontal displayed */ write_mda_b(80, 0x01); /* horizontal displayed */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册