Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Schindler <armin@melware.de>2005-02-10 20:49:19 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-02-10 20:49:19 -0800
commit102583fbed9862c399aa3085b4e6741f363a1919 (patch)
treed91a91aacfcfb48f3a6c7d093983ad13fbf86ae1
parentb717da93b010bec7cc52d11a3637ac0d2ecaeea1 (diff)
[PATCH] Eicon driver: convert to pci_register_driver
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> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/isdn/hardware/eicon/divasmain.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isdn/hardware/eicon/divasmain.c b/drivers/isdn/hardware/eicon/divasmain.c
index 3b06dbb113fc..c9b26e86d183 100644
--- a/drivers/isdn/hardware/eicon/divasmain.c
+++ b/drivers/isdn/hardware/eicon/divasmain.c
@@ -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 @@ static int DIVA_INIT_FUNCTION divas_init(void)
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();