summaryrefslogtreecommitdiff
path: root/drivers/isdn/hardware/eicon/divamnt.c
diff options
context:
space:
mode:
authorhartleys <hartleys@visionengravers.com>2012-04-24 16:56:03 +0400
committerDavid S. Miller <davem@davemloft.net>2012-04-27 08:03:34 +0400
commitd73988923f73b5a3364b06ae1368542785f0af84 (patch)
treec967b70def1b39242c19fdcc12924f718f994354 /drivers/isdn/hardware/eicon/divamnt.c
parent67469601406c12ced3db9956aeb0ef0854e2952f (diff)
downloadlinux-d73988923f73b5a3364b06ae1368542785f0af84.tar.xz
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/divamnt.c')
-rw-r--r--drivers/isdn/hardware/eicon/divamnt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isdn/hardware/eicon/divamnt.c b/drivers/isdn/hardware/eicon/divamnt.c
index ffa0c31be745..48db08d0bb3d 100644
--- a/drivers/isdn/hardware/eicon/divamnt.c
+++ b/drivers/isdn/hardware/eicon/divamnt.c
@@ -184,7 +184,7 @@ static void divas_maint_unregister_chrdev(void)
unregister_chrdev(major, DEVNAME);
}
-static int DIVA_INIT_FUNCTION divas_maint_register_chrdev(void)
+static int __init divas_maint_register_chrdev(void)
{
if ((major = register_chrdev(0, DEVNAME, &divas_maint_fops)) < 0)
{
@@ -207,7 +207,7 @@ void diva_maint_wakeup_read(void)
/*
* Driver Load
*/
-static int DIVA_INIT_FUNCTION maint_init(void)
+static int __init maint_init(void)
{
char tmprev[50];
int ret = 0;
@@ -245,7 +245,7 @@ out:
/*
** Driver Unload
*/
-static void DIVA_EXIT_FUNCTION maint_exit(void)
+static void __exit maint_exit(void)
{
divas_maint_unregister_chrdev();
mntfunc_finit();