Skip to content

Commit

Permalink
[PATCH] mdacon: fix __init section warnings
Browse files Browse the repository at this point in the history
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: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Frederik Deweerdt authored and Linus Torvalds committed Jul 31, 2006
1 parent 9578bcf commit 7ca7b5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/console/mdacon.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ static int __init mdacon_setup(char *str)
__setup("mdacon=", mdacon_setup);
#endif

static int __init mda_detect(void)
static int mda_detect(void)
{
int count=0;
u16 *p, p_save;
Expand Down Expand Up @@ -282,7 +282,7 @@ static int __init mda_detect(void)
return 1;
}

static void __init mda_initialize(void)
static void mda_initialize(void)
{
write_mda_b(97, 0x00); /* horizontal total */
write_mda_b(80, 0x01); /* horizontal displayed */
Expand Down

0 comments on commit 7ca7b5c

Please sign in to comment.