All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [MM] 6/10 pci_module_init() conversion
@ 2006-09-04 12:59 Henne
  2006-09-04 13:55 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Henne @ 2006-09-04 12:59 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

From: Henrik Kretzschmar <henne@nachtwindheim.de>

pci_module_init() convertion in olympic.c
This one works on linus tree(2.6.18-rc6) too.
Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>

---

--- linux-2.6.18-rc5-mm1/drivers/net/tokenring/olympic.c	2006-09-13 17:46:50.000000000 +0200
+++ linux/drivers/net/tokenring/olympic.c	2006-09-13 22:23:50.475145848 +0200
@@ -1771,7 +1771,7 @@
 
 static int __init olympic_pci_init(void) 
 {
-	return pci_module_init (&olympic_driver) ; 
+	return pci_register_driver(&olympic_driver) ; 
 }
 
 static void __exit olympic_pci_cleanup(void)



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

* Re: [PATCH] [MM] 6/10 pci_module_init() conversion
  2006-09-04 12:59 [PATCH] [MM] 6/10 pci_module_init() conversion Henne
@ 2006-09-04 13:55 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2006-09-04 13:55 UTC (permalink / raw)
  To: Henne; +Cc: akpm, linux-kernel

Ar Llu, 2006-09-04 am 14:59 +0200, ysgrifennodd Henne:
> From: Henrik Kretzschmar <henne@nachtwindheim.de>
> 
> pci_module_init() convertion in olympic.c
> This one works on linus tree(2.6.18-rc6) too.
> Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
> 
> ---
> 
> --- linux-2.6.18-rc5-mm1/drivers/net/tokenring/olympic.c	2006-09-13 17:46:50.000000000 +0200
> +++ linux/drivers/net/tokenring/olympic.c	2006-09-13 22:23:50.475145848 +0200
> @@ -1771,7 +1771,7 @@
>  
>  static int __init olympic_pci_init(void) 
>  {
> -	return pci_module_init (&olympic_driver) ; 
> +	return pci_register_driver(&olympic_driver) ; 
>  }

Acked-by: Alan Cox <alan@redhat.com>


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

end of thread, other threads:[~2006-09-04 13:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-04 12:59 [PATCH] [MM] 6/10 pci_module_init() conversion Henne
2006-09-04 13:55 ` Alan Cox

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.