public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 09/11] drivers/scsi/sym53c8xx_2/*: convert to pci_register_driver
@ 2005-03-06 22:27 domen
  2005-03-07  0:35 ` Matthew Wilcox
  0 siblings, 1 reply; 2+ messages in thread
From: domen @ 2005-03-06 22:27 UTC (permalink / raw)
  To: James.Bottomley; +Cc: linux-scsi, domen, c.lucas


convert from pci_module_init to pci_register_driver
(from:http://kerneljanitors.org/TODO).

Signed-off-by: Christophe Lucas <c.lucas@ifrance.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
---


 kj-domen/drivers/scsi/sym53c8xx_2/sym_glue.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/scsi/sym53c8xx_2/sym_glue.c~pci_register_driver-drivers_scsi_sym53c8xx_2 drivers/scsi/sym53c8xx_2/sym_glue.c
--- kj/drivers/scsi/sym53c8xx_2/sym_glue.c~pci_register_driver-drivers_scsi_sym53c8xx_2	2005-03-05 16:12:54.000000000 +0100
+++ kj-domen/drivers/scsi/sym53c8xx_2/sym_glue.c	2005-03-05 16:12:55.000000000 +0100
@@ -2370,7 +2370,7 @@ static int __init sym2_init(void)
 	if (!sym2_transport_template)
 		return -ENODEV;
 
-	error = pci_module_init(&sym2_driver);
+	error = pci_register_driver(&sym2_driver);
 	if (error)
 		spi_release_transport(sym2_transport_template);
 	return error;
_

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch 09/11] drivers/scsi/sym53c8xx_2/*: convert to pci_register_driver
  2005-03-06 22:27 [patch 09/11] drivers/scsi/sym53c8xx_2/*: convert to pci_register_driver domen
@ 2005-03-07  0:35 ` Matthew Wilcox
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Wilcox @ 2005-03-07  0:35 UTC (permalink / raw)
  To: domen; +Cc: James.Bottomley, linux-scsi, c.lucas

On Sun, Mar 06, 2005 at 11:27:17PM +0100, domen@coderock.org wrote:
> convert from pci_module_init to pci_register_driver
> (from:http://kerneljanitors.org/TODO).

Already applied to the sym2 driver in my tree, thanks.

-- 
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-07  0:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-06 22:27 [patch 09/11] drivers/scsi/sym53c8xx_2/*: convert to pci_register_driver domen
2005-03-07  0:35 ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox