summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-02-24 04:04:47 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-02-24 04:04:47 -0800
commit38ff32ef2bfda1c12f7d35a2d46d14af3328415a (patch)
treef37183ef9c3197dda0cec87d757880b445f85a54
parenta4580ad908e8a6d2217e3c5805f50dd533b3e68d (diff)
[PATCH] Eicon isdn driver compile __devexit compile fix
From: Armin <armin@melware.de> Pointers to __devexit functions must be wrapped with the __devexit_p() macro.
-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 08ad9bf08cb3..71834cd9ff66 100644
--- a/drivers/isdn/hardware/eicon/divasmain.c
+++ b/drivers/isdn/hardware/eicon/divasmain.c
@@ -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,
};