mirror of https://gitee.com/openkylin/linux.git
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() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
28959742c1
commit
f5ee051e74
|
@ -2049,7 +2049,7 @@ static void cirrusfb_pci_unmap(struct fb_info *info)
|
||||||
#endif /* CONFIG_PCI */
|
#endif /* CONFIG_PCI */
|
||||||
|
|
||||||
#ifdef CONFIG_ZORRO
|
#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 cirrusfb_info *cinfo = info->par;
|
||||||
struct zorro_dev *zdev = to_zorro_dev(info->device);
|
struct zorro_dev *zdev = to_zorro_dev(info->device);
|
||||||
|
|
Loading…
Reference in New Issue