Skip to content

Commit

Permalink
isdn/mISDN: add __init/__exit macros to dsp_core.c
Browse files Browse the repository at this point in the history
Trivial patch which adds the __init/__exit macros to the module_init/
module_exit functions of

drivers/isdn/mISDN/dsp_core.c

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Peter Huewe authored and Jiri Kosina committed Feb 5, 2010
1 parent 60c14a1 commit 3d956d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/isdn/mISDN/dsp_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,7 @@ static struct Bprotocol DSP = {
.create = dspcreate
};

static int dsp_init(void)
static int __init dsp_init(void)
{
int err;
int tics;
Expand Down Expand Up @@ -1212,7 +1212,7 @@ static int dsp_init(void)
}


static void dsp_cleanup(void)
static void __exit dsp_cleanup(void)
{
mISDN_unregister_Bprotocol(&DSP);

Expand Down

0 comments on commit 3d956d1

Please sign in to comment.