提交 a61bdaad 编写于 作者: R Randy Dunlap 提交者: Linus Torvalds

[PATCH] savagefb: fix section mismatch warnings

Fix modpost section mismatch warnings in savagefb driver:

WARNING: drivers/video/savage/savagefb.o - Section mismatch: reference to .init.text: from .exit.text after 'savagefb_remove' (at offset 0x66)
WARNING: drivers/video/savage/savagefb.o - Section mismatch: reference to .init.text: from .exit.text after 'savagefb_remove' (at offset 0x6e)
WARNING: drivers/video/savage/savagefb.o - Section mismatch: reference to .init.text: from .text.savagefb_resume after 'savagefb_resume' (at offset 0x70)
Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 246846fc
...@@ -1545,7 +1545,7 @@ static int __devinit savage_map_mmio (struct fb_info *info) ...@@ -1545,7 +1545,7 @@ static int __devinit savage_map_mmio (struct fb_info *info)
return 0; return 0;
} }
static void __devinit savage_unmap_mmio (struct fb_info *info) static void savage_unmap_mmio (struct fb_info *info)
{ {
struct savagefb_par *par = info->par; struct savagefb_par *par = info->par;
DBG ("savage_unmap_mmio"); DBG ("savage_unmap_mmio");
...@@ -1597,7 +1597,7 @@ static int __devinit savage_map_video (struct fb_info *info, ...@@ -1597,7 +1597,7 @@ static int __devinit savage_map_video (struct fb_info *info,
return 0; return 0;
} }
static void __devinit savage_unmap_video (struct fb_info *info) static void savage_unmap_video (struct fb_info *info)
{ {
struct savagefb_par *par = info->par; struct savagefb_par *par = info->par;
...@@ -1614,7 +1614,7 @@ static void __devinit savage_unmap_video (struct fb_info *info) ...@@ -1614,7 +1614,7 @@ static void __devinit savage_unmap_video (struct fb_info *info)
} }
} }
static int __devinit savage_init_hw (struct savagefb_par *par) static int savage_init_hw (struct savagefb_par *par)
{ {
unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册