]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] Eicon isdn driver compile __devexit compile fix
authorAndrew Morton <akpm@osdl.org>
Tue, 24 Feb 2004 12:04:47 +0000 (04:04 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 24 Feb 2004 12:04:47 +0000 (04:04 -0800)
From: Armin <armin@melware.de>

Pointers to __devexit functions must be wrapped with the __devexit_p()
macro.

drivers/isdn/hardware/eicon/divasmain.c

index 08ad9bf08cb36a3bad0a3324aa49bc141c094f2c..71834cd9ff66be2612319ee78b5cca11b3623788 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: divasmain.c,v 1.47 2004/02/03 16:03:01 armin Exp $
+/* $Id: divasmain.c,v 1.48 2004/02/24 17:46:28 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.47 $";
+static char *main_revision = "$Revision: 1.48 $";
 
 static int major;
 
@@ -164,7 +164,7 @@ static void divas_remove_one(struct pci_dev *pdev);
 static struct pci_driver diva_pci_driver = {
        .name     = "divas",
        .probe    = divas_init_one,
-       .remove   = divas_remove_one,
+       .remove   = __devexit_p(divas_remove_one),
        .id_table = divas_pci_tbl,
 };