OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a9df49
)
make kernel/kmod.c:kmod_mk static
author
Adrian Bunk
<bunk@stusta.de>
Tue, 20 Feb 2007 00:07:49 +0000
(
01:07
+0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 23 Feb 2007 22:52:09 +0000
(14:52 -0800)
This patch makes the needlessly global struct kmod_mk static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/kmod.c
patch
|
blob
|
history
diff --git
a/kernel/kmod.c
b/kernel/kmod.c
index
9f923f8
..
f936108
100644
(file)
--- a/
kernel/kmod.c
+++ b/
kernel/kmod.c
@@
-48,7
+48,7
@@
static struct workqueue_struct *khelper_wq;
modprobe_path is set via /proc/sys.
*/
char modprobe_path[KMOD_PATH_LEN] = "/sbin/modprobe";
-struct module_kobject kmod_mk;
+st
atic st
ruct module_kobject kmod_mk;
/**
* request_module - try to load a kernel module