From: domen@coderock.org
To: James.Bottomley@SteelEye.com
Cc: linux-scsi@vger.kernel.org, domen@coderock.org, c.lucas@ifrance.com
Subject: [patch 09/11] drivers/scsi/sym53c8xx_2/*: convert to pci_register_driver
Date: Sun, 06 Mar 2005 23:27:17 +0100 [thread overview]
Message-ID: <20050306222717.C0F441F205@trashy.coderock.org> (raw)
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;
_
next reply other threads:[~2005-03-06 22:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-06 22:27 domen [this message]
2005-03-07 0:35 ` [patch 09/11] drivers/scsi/sym53c8xx_2/*: convert to pci_register_driver Matthew Wilcox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050306222717.C0F441F205@trashy.coderock.org \
--to=domen@coderock.org \
--cc=James.Bottomley@SteelEye.com \
--cc=c.lucas@ifrance.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox