From: domen@coderock.org
To: James.Bottomley@SteelEye.com
Cc: linux-scsi@vger.kernel.org, domen@coderock.org, c.lucas@ifrance.com
Subject: [patch 07/11] drivers/scsi/aic7xxx/*: convert to pci_register_driver
Date: Sun, 06 Mar 2005 23:27:11 +0100 [thread overview]
Message-ID: <20050306222711.A56F91F201@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/aic7xxx/aic79xx_osm_pci.c | 2 +-
kj-domen/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff -puN drivers/scsi/aic7xxx/aic79xx_osm_pci.c~pci_register_driver-drivers_scsi_aic7xxx drivers/scsi/aic7xxx/aic79xx_osm_pci.c
--- kj/drivers/scsi/aic7xxx/aic79xx_osm_pci.c~pci_register_driver-drivers_scsi_aic7xxx 2005-03-05 16:12:51.000000000 +0100
+++ kj-domen/drivers/scsi/aic7xxx/aic79xx_osm_pci.c 2005-03-05 16:12:52.000000000 +0100
@@ -209,7 +209,7 @@ ahd_linux_pci_dev_probe(struct pci_dev *
int
ahd_linux_pci_init(void)
{
- return (pci_module_init(&aic79xx_pci_driver));
+ return (pci_register_driver(&aic79xx_pci_driver));
}
void
diff -puN drivers/scsi/aic7xxx/aic7xxx_osm_pci.c~pci_register_driver-drivers_scsi_aic7xxx drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
--- kj/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c~pci_register_driver-drivers_scsi_aic7xxx 2005-03-05 16:12:51.000000000 +0100
+++ kj-domen/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c 2005-03-05 16:12:52.000000000 +0100
@@ -252,7 +252,7 @@ int
ahc_linux_pci_init(void)
{
/* Translate error or zero return into zero or one */
- return pci_module_init(&aic7xxx_pci_driver) ? 0 : 1;
+ return pci_register_driver(&aic7xxx_pci_driver) ? 0 : 1;
}
void
_
reply other threads:[~2005-03-06 22:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20050306222711.A56F91F201@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