]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
section fixes for cirrusfb
authorAl Viro <viro@ftp.linux.org.uk>
Sat, 1 Nov 2008 18:20:39 +0000 (18:20 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 1 Nov 2008 19:40:38 +0000 (12:40 -0700)
cirrusfb_zorro_unmap() may be called both from __devexit and (on
cleanup path) from __devinit.  So it needs to be a normal function,
same as for cirrusfb_pci_unmap()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/cirrusfb.c

index 048b139f0e50ce67eaa85d8d228f74fd40a72038..8a8760230bc78561b2f3a25c7095c9db21d68c54 100644 (file)
@@ -2049,7 +2049,7 @@ static void cirrusfb_pci_unmap(struct fb_info *info)
 #endif /* CONFIG_PCI */
 
 #ifdef CONFIG_ZORRO
-static void __devexit cirrusfb_zorro_unmap(struct fb_info *info)
+static void cirrusfb_zorro_unmap(struct fb_info *info)
 {
        struct cirrusfb_info *cinfo = info->par;
        struct zorro_dev *zdev = to_zorro_dev(info->device);