summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hardware/eicon/diddfunc.c
diff options
context:
space:
mode:
authorhartleys <hartleys@visionengravers.com>2012-04-24 14:56:03 +0200
committerDavid S. Miller <davem@davemloft.net>2012-04-27 06:03:34 +0200
commitd73988923f73b5a3364b06ae1368542785f0af84 (patch)
treec967b70def1b39242c19fdcc12924f718f994354 /drivers/isdn/hardware/eicon/diddfunc.c
parentipv6: RTAX_FEATURE_ALLFRAG causes inefficient TCP segment sizing (diff)
downloadlinux-d73988923f73b5a3364b06ae1368542785f0af84.tar.xz
linux-d73988923f73b5a3364b06ae1368542785f0af84.zip
isdn/eicon: use standard __init,__exit function markup
Remove the custom DIVA_{INIT,EXIT}_FUNCTION defines and use the standard __init,__exit markup. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Armin Schindler <mac@melware.de> Cc: Karsten Keil <isdn@linux-pingi.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/hardware/eicon/diddfunc.c')
-rw-r--r--drivers/isdn/hardware/eicon/diddfunc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/isdn/hardware/eicon/diddfunc.c b/drivers/isdn/hardware/eicon/diddfunc.c
index c4c8220c9d72..b0b23ed8b374 100644
--- a/drivers/isdn/hardware/eicon/diddfunc.c
+++ b/drivers/isdn/hardware/eicon/diddfunc.c
@@ -47,7 +47,7 @@ static void *didd_callback(void *context, DESCRIPTOR *adapter,
/*
* connect to didd
*/
-static int DIVA_INIT_FUNCTION connect_didd(void)
+static int __init connect_didd(void)
{
int x = 0;
int dadapter = 0;
@@ -79,7 +79,7 @@ static int DIVA_INIT_FUNCTION connect_didd(void)
/*
* disconnect from didd
*/
-static void DIVA_EXIT_FUNCTION disconnect_didd(void)
+static void __exit disconnect_didd(void)
{
IDI_SYNC_REQ req;
@@ -92,7 +92,7 @@ static void DIVA_EXIT_FUNCTION disconnect_didd(void)
/*
* init
*/
-int DIVA_INIT_FUNCTION diddfunc_init(void)
+int __init diddfunc_init(void)
{
diva_didd_load_time_init();
@@ -107,7 +107,7 @@ int DIVA_INIT_FUNCTION diddfunc_init(void)
/*
* finit
*/
-void DIVA_EXIT_FUNCTION diddfunc_finit(void)
+void __exit diddfunc_finit(void)
{
DbgDeregister();
disconnect_didd();