Commit 12ff25a3 authored by Armin Schindler's avatar Armin Schindler Committed by Linus Torvalds

[PATCH] ISDN Eicon driver: fix compilation with non __exit function

   Function divacapi_remove_cards() is now used for __init as well,
   so it may not be marked __exit.
parent ab7760ad
/* $Id: capifunc.c,v 1.59 2004/03/21 17:27:32 armin Exp $ /* $Id: capifunc.c,v 1.60 2004/03/22 16:28:27 armin Exp $
* *
* ISDN interface module for Eicon active cards DIVA. * ISDN interface module for Eicon active cards DIVA.
* CAPI Interface common functions * CAPI Interface common functions
...@@ -447,7 +447,7 @@ static void divacapi_remove_card(DESCRIPTOR * d) ...@@ -447,7 +447,7 @@ static void divacapi_remove_card(DESCRIPTOR * d)
/* /*
* remove cards * remove cards
*/ */
static void DIVA_EXIT_FUNCTION divacapi_remove_cards(void) static void divacapi_remove_cards(void)
{ {
DESCRIPTOR d; DESCRIPTOR d;
struct list_head *tmp; struct list_head *tmp;
......
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