All of lore.kernel.org
 help / color / mirror / Atom feed
* [-mm patch] drivers/uio/uio_cif.c: convert pci_module_init()
@ 2007-04-06 10:19 Adrian Bunk
  2007-04-06 11:11 ` Hans-Jürgen Koch
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-04-06 10:19 UTC (permalink / raw)
  To: Hans-Jürgen Koch, Greg Kroah-Hartman
  Cc: tglx, Benedikt Spranger, linux-kernel

This patch converts the pci_module_init() usage to pci_register_driver().

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---
--- linux-2.6.21-rc5-mm4/drivers/uio/uio_cif.c.old	2007-04-05 20:44:24.000000000 +0200
+++ linux-2.6.21-rc5-mm4/drivers/uio/uio_cif.c	2007-04-05 20:44:38.000000000 +0200
@@ -144,7 +144,7 @@
 
 static int __init hilscher_init_module(void)
 {
-	return pci_module_init(&hilscher_pci_driver);
+	return pci_register_driver(&hilscher_pci_driver);
 }
 
 static void __exit hilscher_exit_module(void)


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

* Re: [-mm patch] drivers/uio/uio_cif.c: convert pci_module_init()
  2007-04-06 10:19 [-mm patch] drivers/uio/uio_cif.c: convert pci_module_init() Adrian Bunk
@ 2007-04-06 11:11 ` Hans-Jürgen Koch
  0 siblings, 0 replies; 2+ messages in thread
From: Hans-Jürgen Koch @ 2007-04-06 11:11 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Greg Kroah-Hartman, tglx, Benedikt Spranger, linux-kernel

Am Freitag 06 April 2007 12:19 schrieb Adrian Bunk:
> This patch converts the pci_module_init() usage to pci_register_driver().
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
>
> ---
> --- linux-2.6.21-rc5-mm4/drivers/uio/uio_cif.c.old	2007-04-05
> 20:44:24.000000000 +0200 +++
> linux-2.6.21-rc5-mm4/drivers/uio/uio_cif.c	2007-04-05 20:44:38.000000000
> +0200 @@ -144,7 +144,7 @@
>
>  static int __init hilscher_init_module(void)
>  {
> -	return pci_module_init(&hilscher_pci_driver);
> +	return pci_register_driver(&hilscher_pci_driver);
>  }
>
>  static void __exit hilscher_exit_module(void)

OK.

Acked-by: Hans J. Koch <hjk@linutronix.de>


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

end of thread, other threads:[~2007-04-06 11:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-06 10:19 [-mm patch] drivers/uio/uio_cif.c: convert pci_module_init() Adrian Bunk
2007-04-06 11:11 ` Hans-Jürgen Koch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.