Commit 38ff32ef authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[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.
parent a4580ad9
/* $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. * Low level driver for Eicon DIVA Server ISDN cards.
* *
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
#include "diva_dma.h" #include "diva_dma.h"
#include "diva_pci.h" #include "diva_pci.h"
static char *main_revision = "$Revision: 1.47 $"; static char *main_revision = "$Revision: 1.48 $";
static int major; static int major;
...@@ -164,7 +164,7 @@ static void divas_remove_one(struct pci_dev *pdev); ...@@ -164,7 +164,7 @@ static void divas_remove_one(struct pci_dev *pdev);
static struct pci_driver diva_pci_driver = { static struct pci_driver diva_pci_driver = {
.name = "divas", .name = "divas",
.probe = divas_init_one, .probe = divas_init_one,
.remove = divas_remove_one, .remove = __devexit_p(divas_remove_one),
.id_table = divas_pci_tbl, .id_table = divas_pci_tbl,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment