make kernel/kmod.c:kmod_mk static
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
2a9df49451
commit
4541ac94d0
@@ -48,7 +48,7 @@ static struct workqueue_struct *khelper_wq;
|
|||||||
modprobe_path is set via /proc/sys.
|
modprobe_path is set via /proc/sys.
|
||||||
*/
|
*/
|
||||||
char modprobe_path[KMOD_PATH_LEN] = "/sbin/modprobe";
|
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
|
* request_module - try to load a kernel module
|
||||||
|
Reference in New Issue
Block a user