projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60c14a1
)
isdn/mISDN: add __init/__exit macros to dsp_core.c
author
Peter Huewe
<peterhuewe@gmx.de>
Tue, 22 Dec 2009 08:41:42 +0000
(09:41 +0100)
committer
Jiri Kosina
<jkosina@suse.cz>
Fri, 5 Feb 2010 11:22:33 +0000
(12:22 +0100)
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>
drivers/isdn/mISDN/dsp_core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/isdn/mISDN/dsp_core.c
b/drivers/isdn/mISDN/dsp_core.c
index 43ff4d3b046ecd9770c78242858dab44b0001bf0..6eac588e0a374c94cb8916cbc1f08cee283eedfc 100644
(file)
--- a/
drivers/isdn/mISDN/dsp_core.c
+++ b/
drivers/isdn/mISDN/dsp_core.c
@@
-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);