forked from luck/tmp_suning_uos_patched
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:
parent
2a9df49451
commit
4541ac94d0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user