Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753998AbYKASVs (ORCPT ); Sat, 1 Nov 2008 14:21:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753705AbYKASUl (ORCPT ); Sat, 1 Nov 2008 14:20:41 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:58332 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753696AbYKASUk (ORCPT ); Sat, 1 Nov 2008 14:20:40 -0400 To: torvalds@linux-foundation.org Subject: [PATCH] section fixes for cirrusfb Cc: linux-kernel@vger.kernel.org Message-Id: From: Al Viro Date: Sat, 01 Nov 2008 18:20:39 +0000 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1070 Lines: 32 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 --- drivers/video/cirrusfb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/cirrusfb.c b/drivers/video/cirrusfb.c index 048b139..8a87602 100644 --- a/drivers/video/cirrusfb.c +++ b/drivers/video/cirrusfb.c @@ -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); -- 1.5.6.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/