mirror of https://gitee.com/openkylin/linux.git
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:
parent
60c14a1507
commit
3d956d1dff
|
@ -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;
|
||||
|
@ -1212,7 +1212,7 @@ static int dsp_init(void)
|
|||
}
|
||||
|
||||
|
||||
static void dsp_cleanup(void)
|
||||
static void __exit dsp_cleanup(void)
|
||||
{
|
||||
mISDN_unregister_Bprotocol(&DSP);
|
||||
|
||||
|
|
Loading…
Reference in New Issue