public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Remove pci_module_init() from Intel I/OAT DMA engine
@ 2006-07-18 18:22 Henne
  2006-07-18 20:54 ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Henne @ 2006-07-18 18:22 UTC (permalink / raw)
  To: davem; +Cc: linux-kernel, kernel-janitors

From: Henrik Kretzschmar <henne@nachtwindheim.de>

Changes pci_module_init() to pci_register_driver().
Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
---

diff -ruN linux-2.6.18-rc2/drivers/dma/ioatdma.c linux/drivers/dma/ioatdma.c
--- linux-2.6.18-rc2/drivers/dma/ioatdma.c      2006-07-18 13:36:57.000000000 +0200
+++ linux/drivers/dma/ioatdma.c 2006-07-18 19:56:51.000000000 +0200
@@ -828,7 +828,7 @@
        /* if forced, worst case is that rmmod hangs */
        __unsafe(THIS_MODULE);

-       return pci_module_init(&ioat_pci_drv);
+       return pci_register_driver(&ioat_pci_drv);
 }

 module_init(ioat_init_module);

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

* Re: [PATCH] Remove pci_module_init() from Intel I/OAT DMA engine
  2006-07-18 18:22 Henne
@ 2006-07-18 20:54 ` David Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2006-07-18 20:54 UTC (permalink / raw)
  To: henne; +Cc: linux-kernel, kernel-janitors

From: Henne <henne@nachtwindheim.de>
Date: Tue, 18 Jul 2006 20:22:26 +0200

> From: Henrik Kretzschmar <henne@nachtwindheim.de>
> 
> Changes pci_module_init() to pci_register_driver().
> Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>

Your email client corrupted your patch by changing tabs
into spaces, therefore your patch does not apply and is
unusable.

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

* Re: [PATCH] Remove pci_module_init() from Intel I/OAT DMA engine
@ 2006-07-18 21:13 Henne
  0 siblings, 0 replies; 3+ messages in thread
From: Henne @ 2006-07-18 21:13 UTC (permalink / raw)
  To: kernel-janitors; +Cc: linux-kernel

> Your email client corrupted your patch by changing tabs
> into spaces, therefore your patch does not apply and is
> unusable.
So this one should work. Thanks for reply.

Greets,
Henrik Kretzschmar

---
From: Henrik Kretzschmar <henne@nachtwindheim.de>

Changes pci_module_init() to pci_register_driver().
Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
---

diff -ruN linux-2.6.18-rc2/drivers/dma/ioatdma.c linux/drivers/dma/ioatdma.c
--- linux-2.6.18-rc2/drivers/dma/ioatdma.c	2006-07-18 13:36:57.000000000 +0200
+++ linux/drivers/dma/ioatdma.c	2006-07-18 19:56:51.000000000 +0200
@@ -828,7 +828,7 @@
 	/* if forced, worst case is that rmmod hangs */
 	__unsafe(THIS_MODULE);

-	return pci_module_init(&ioat_pci_drv);
+	return pci_register_driver(&ioat_pci_drv);
 }

 module_init(ioat_init_module);



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

end of thread, other threads:[~2006-07-18 21:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-18 21:13 [PATCH] Remove pci_module_init() from Intel I/OAT DMA engine Henne
  -- strict thread matches above, loose matches on Subject: below --
2006-07-18 18:22 Henne
2006-07-18 20:54 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox