LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] ide/pci/delkin_cb.c: pci_module_init to pci_register_driver
@ 2007-02-14  0:39 Richard Knutsson
  2007-02-14 19:47 ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Knutsson @ 2007-02-14  0:39 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz, Mark Lord
  Cc: linux-ide, linux-kernel, Richard Knutsson

Convert pci_module_init() to pci_register_driver().

Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
---
Compile-tested with "allyes", "allmod" & "allno" on i386


diff --git a/drivers/ide/pci/delkin_cb.c b/drivers/ide/pci/delkin_cb.c
index e2672fc..d4b753e 100644
--- a/drivers/ide/pci/delkin_cb.c
+++ b/drivers/ide/pci/delkin_cb.c
@@ -122,7 +122,7 @@ static struct pci_driver driver = {
 static int
 delkin_cb_init (void)
 {
-	return pci_module_init(&driver);
+	return pci_register_driver(&driver);
 }
 
 static void

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

* Re: [PATCH] ide/pci/delkin_cb.c: pci_module_init to pci_register_driver
  2007-02-14  0:39 [PATCH] ide/pci/delkin_cb.c: pci_module_init to pci_register_driver Richard Knutsson
@ 2007-02-14 19:47 ` Bartlomiej Zolnierkiewicz
  0 siblings, 0 replies; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2007-02-14 19:47 UTC (permalink / raw)
  To: Richard Knutsson; +Cc: Mark Lord, linux-ide, linux-kernel


On Wednesday 14 February 2007 01:39, Richard Knutsson wrote:
> Convert pci_module_init() to pci_register_driver().
> 
> Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
> ---
> Compile-tested with "allyes", "allmod" & "allno" on i386

applied, thanks

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

end of thread, other threads:[~2007-02-14 19:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-14  0:39 [PATCH] ide/pci/delkin_cb.c: pci_module_init to pci_register_driver Richard Knutsson
2007-02-14 19:47 ` Bartlomiej Zolnierkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).