* [PATCH] 2.6 ISDN Eicon driver: convert to pci_register_driver
@ 2005-02-11 20:03 Armin Schindler
0 siblings, 0 replies; only message in thread
From: Armin Schindler @ 2005-02-11 20:03 UTC (permalink / raw)
To: torvalds, akpm; +Cc: linux-kernel, developers
Description:
convert from pci_module_init to pci_register_driver
Signed-off-by: Christophe Lucas <c.lucas@ifrance.com>
Signed-off-by: Armin Schindler <armin@melware.de>
diff -u linux.orig/drivers/isdn/hardware/eicon/divasmain.c linux/drivers/isdn/hardware/eicon/divasmain.c
--- linux.orig/drivers/isdn/hardware/eicon/divasmain.c 2005-02-11 17:50:39.000000000 +0100
+++ linux/drivers/isdn/hardware/eicon/divasmain.c 2005-02-11 20:41:25.398402952 +0100
@@ -1,4 +1,4 @@
-/* $Id: divasmain.c,v 1.55.4.1 2004/05/21 12:15:00 armin Exp $
+/* $Id: divasmain.c,v 1.55.4.6 2005/02/09 19:28:20 armin Exp $
*
* Low level driver for Eicon DIVA Server ISDN cards.
*
@@ -41,7 +41,7 @@
#include "diva_dma.h"
#include "diva_pci.h"
-static char *main_revision = "$Revision: 1.55.4.1 $";
+static char *main_revision = "$Revision: 1.55.4.6 $";
static int major;
@@ -823,7 +823,7 @@
goto out;
}
- if ((ret = pci_module_init(&diva_pci_driver))) {
+ if ((ret = pci_register_driver(&diva_pci_driver))) {
#ifdef MODULE
remove_divas_proc();
divas_unregister_chrdev();
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-02-11 20:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-11 20:03 [PATCH] 2.6 ISDN Eicon driver: convert to pci_register_driver Armin Schindler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox