Commit 3d956d1dfffef3b19d743aa1a443ab5a300051cb
Committed by
Jiri Kosina
1 parent
60c14a1507
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>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
drivers/isdn/mISDN/dsp_core.c
... | ... | @@ -1114,7 +1114,7 @@ |
1114 | 1114 | .create = dspcreate |
1115 | 1115 | }; |
1116 | 1116 | |
1117 | -static int dsp_init(void) | |
1117 | +static int __init dsp_init(void) | |
1118 | 1118 | { |
1119 | 1119 | int err; |
1120 | 1120 | int tics; |
... | ... | @@ -1212,7 +1212,7 @@ |
1212 | 1212 | } |
1213 | 1213 | |
1214 | 1214 | |
1215 | -static void dsp_cleanup(void) | |
1215 | +static void __exit dsp_cleanup(void) | |
1216 | 1216 | { |
1217 | 1217 | mISDN_unregister_Bprotocol(&DSP); |
1218 | 1218 |