aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorFrederik Deweerdt <deweerdt@free.fr>2006-07-30 03:03:46 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-31 13:28:40 -0700
commit7ca7b5c42e783b74a57387418bfcfea072fc46d6 (patch)
tree6dfb6066c79668104f353d804effbd511b74c44c /drivers/video
parent9578bcf4ecaf447cb4bb0891309fad73ff5c00e3 (diff)
downloadkernel_samsung_smdk4412-7ca7b5c42e783b74a57387418bfcfea072fc46d6.zip
kernel_samsung_smdk4412-7ca7b5c42e783b74a57387418bfcfea072fc46d6.tar.gz
kernel_samsung_smdk4412-7ca7b5c42e783b74a57387418bfcfea072fc46d6.tar.bz2
[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: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/console/mdacon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/console/mdacon.c b/drivers/video/console/mdacon.c
index 52ed12b..eb4d03f 100644
--- a/drivers/video/console/mdacon.c
+++ b/drivers/video/console/mdacon.c
@@ -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;
@@ -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 */