From: Adrian Bunk Date: Tue, 20 Feb 2007 00:07:49 +0000 (+0100) Subject: make kernel/kmod.c:kmod_mk static X-Git-Tag: v2.6.21-rc2~44^2~2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4541ac94d0ea0b00776edd5904ac91dd6d6330f7;p=linux-2.6 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 9f923f8ce6..f936108f29 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