From: Adrian Bunk Date: Tue, 20 Feb 2007 00:07:49 +0000 (+0100) Subject: make kernel/kmod.c:kmod_mk static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4541ac94d0ea0b00776edd5904ac91dd6d6330f7;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git make kernel/kmod.c:kmod_mk static This patch makes the needlessly global struct kmod_mk static. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman --- diff --git a/kernel/kmod.c b/kernel/kmod.c index 9f923f8ce6a..f936108f296 100644 --- 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; +static struct module_kobject kmod_mk; /** * request_module - try to load a kernel module