Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964903AbWIDNNK (ORCPT ); Mon, 4 Sep 2006 09:13:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964910AbWIDNNJ (ORCPT ); Mon, 4 Sep 2006 09:13:09 -0400 Received: from server6.greatnet.de ([83.133.96.26]:33670 "EHLO server6.greatnet.de") by vger.kernel.org with ESMTP id S964908AbWIDNNG (ORCPT ); Mon, 4 Sep 2006 09:13:06 -0400 Message-ID: <44FC268D.2020506@nachtwindheim.de> Date: Mon, 04 Sep 2006 15:13:49 +0200 From: Henne User-Agent: Thunderbird 1.5.0.5 (X11/20060728) MIME-Version: 1.0 To: akpm@osdl.org, alan@lxorguk.ukuu.org.uk Cc: linux-kernel@vger.kernel.org Subject: [PATCH] [MM] 7/10 pci_module_init() conversion Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 885 Lines: 27 From: Henrik Kretzschmar pci_module_init() conversion for pata_pdc2027x For use in mm-tree only, since the new location of the ata drivers. In that case I don't know exactly how to change the version number. Signed-off-by: Henrik Kretzschmar --- --- linux-2.6.18-rc5-mm1/drivers/ata/pata_pdc2027x.c 2006-09-13 17:54:16.000000000 +0200 +++ linux/drivers/ata/pata_pdc2027x.c 2006-09-13 21:41:56.488893480 +0200 @@ -854,7 +854,7 @@ */ static int __init pdc2027x_init(void) { - return pci_module_init(&pdc2027x_pci_driver); + return pci_register_driver(&pdc2027x_pci_driver); } /** - 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/