Skip to contentSkip to conversation

section fixes for cirrusfb

PATCH New Al Viro 1 participant 1 message Nov 1, 2008 Framebuffer layer

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 section fixes for cirrusfb

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()

---
 drivers/video/cirrusfb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/cirrusfb.c +1 -1
index 048b139..8a87602 100644
@@ -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);
Signature · 1 line
1.5.6.5