summaryrefslogtreecommitdiff
path: root/drivers/video/aty/mach64_cursor.c
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2006-06-26 00:26:58 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-26 09:58:31 -0700
commit1a8c9795290361cef232fd54f425a57d143108a8 (patch)
tree1b7cfc5ca7b0ee80083320d5a06b33118c4fd34b /drivers/video/aty/mach64_cursor.c
parent9b27915b6aa33b5fbc17beb8c7d5d0b662419018 (diff)
[PATCH] atyfb: Fix section warnings
Fix the following warning: WARNING: drivers/video/aty/atyfb.o - Section mismatch: reference to .init.text:aty_init_cursor from .text between 'aty_init' (at offset 0x241d) and 'atyfb_blank' Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/aty/mach64_cursor.c')
-rw-r--r--drivers/video/aty/mach64_cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/aty/mach64_cursor.c b/drivers/video/aty/mach64_cursor.c
index 27bf0137e3bb..2a7f381c330f 100644
--- a/drivers/video/aty/mach64_cursor.c
+++ b/drivers/video/aty/mach64_cursor.c
@@ -187,7 +187,7 @@ static int atyfb_cursor(struct fb_info *info, struct fb_cursor *cursor)
return 0;
}
-int __init aty_init_cursor(struct fb_info *info)
+int __devinit aty_init_cursor(struct fb_info *info)
{
unsigned long addr;