Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753712AbWLPN4w (ORCPT ); Sat, 16 Dec 2006 08:56:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753713AbWLPN4w (ORCPT ); Sat, 16 Dec 2006 08:56:52 -0500 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:3327 "HELO mailout.stusta.mhn.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753708AbWLPN4v (ORCPT ); Sat, 16 Dec 2006 08:56:51 -0500 Date: Sat, 16 Dec 2006 14:56:50 +0100 From: Adrian Bunk To: Andrew Morton , Sergei Shtylyov Cc: linux-kernel@vger.kernel.org, B.Zolnierkiewicz@elka.pw.edu.pl, linux-ide@vger.kernel.org Subject: [-mm patch] drivers/ide/pci/tc86c001.c: make a function static Message-ID: <20061216135650.GA3388@stusta.de> References: <20061214225913.3338f677.akpm@osdl.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061214225913.3338f677.akpm@osdl.org> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1124 Lines: 37 On Thu, Dec 14, 2006 at 10:59:13PM -0800, Andrew Morton wrote: >... > Changes since 2.6.19-mm1: >... > +toshiba-tc86c001-ide-driver-take-2.patch >... > Misc. >... This patch makes the needlessly global init_hwif_tc86c001() static. Signed-off-by: Adrian Bunk --- BTW: I'm not sure whether it'd be a good idea to include such a driver for the legacy IDE subsystem without a libata based driver for the same hardware. --- linux-2.6.20-rc1-mm1/drivers/ide/pci/tc86c001.c.old 2006-12-15 21:58:44.000000000 +0100 +++ linux-2.6.20-rc1-mm1/drivers/ide/pci/tc86c001.c 2006-12-15 21:58:54.000000000 +0100 @@ -204,7 +204,7 @@ return 0; } -void __devinit init_hwif_tc86c001(ide_hwif_t *hwif) +static void __devinit init_hwif_tc86c001(ide_hwif_t *hwif) { unsigned long sc_base = pci_resource_start(hwif->pci_dev, 5); u16 scr1 = hwif->INW(sc_base + 0x00);; - 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/