提交 4541ac94 编写于 作者: A Adrian Bunk 提交者: Greg Kroah-Hartman

make kernel/kmod.c:kmod_mk static

This patch makes the needlessly global struct kmod_mk static.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 2a9df494
......@@ -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;
static struct module_kobject kmod_mk;
/**
* request_module - try to load a kernel module
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册