isdn/mISDN: add __init/__exit macros to dsp_core.c
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>
This commit is contained in:
@@ -1114,7 +1114,7 @@ static struct Bprotocol DSP = {
|
|||||||
.create = dspcreate
|
.create = dspcreate
|
||||||
};
|
};
|
||||||
|
|
||||||
static int dsp_init(void)
|
static int __init dsp_init(void)
|
||||||
{
|
{
|
||||||
int err;
|
int err;
|
||||||
int tics;
|
int tics;
|
||||||
@@ -1212,7 +1212,7 @@ static int dsp_init(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static void dsp_cleanup(void)
|
static void __exit dsp_cleanup(void)
|
||||||
{
|
{
|
||||||
mISDN_unregister_Bprotocol(&DSP);
|
mISDN_unregister_Bprotocol(&DSP);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user