mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
au1100fb: fix modpost warnings
MODPOST vmlinux.o WARNING: vmlinux.o(.text+0x170be8): Section mismatch: reference to .init.data:au1100fb_fix (between 'au1100fb_drv_probe' and 'read_null') WARNING: vmlinux.o(.text+0x170dc4): Section mismatch: reference to .init.data:au1100fb_var (between 'au1100fb_drv_probe' and 'read_null') WARNING: vmlinux.o(.text+0x170dd0): Section mismatch: reference to .init.data:au1100fb_fix (between 'au1100fb_drv_probe' and 'read_null') WARNING: vmlinux.o(.text+0x170de0): Section mismatch: reference to .init.data:au1100fb_var (between 'au1100fb_drv_probe' and 'read_null') WARNING: vmlinux.o(.text+0x170e70): Section mismatch: reference to .init.data:au1100fb_var (between 'au1100fb_drv_probe' and 'read_null') Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
53da05632b
commit
0c42ea3f93
@ -457,7 +457,7 @@ static struct fb_ops au1100fb_ops =
|
||||
|
||||
/* AU1100 LCD controller device driver */
|
||||
|
||||
int au1100fb_drv_probe(struct device *dev)
|
||||
static int __init au1100fb_drv_probe(struct device *dev)
|
||||
{
|
||||
struct au1100fb_device *fbdev = NULL;
|
||||
struct resource *regs_res;
|
||||
|
Loading…
Reference in New Issue
Block a user