make kernel/kmod.c:kmod_mk static
authorAdrian Bunk <bunk@stusta.de>
Tue, 20 Feb 2007 00:07:49 +0000 (01:07 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 23 Feb 2007 22:52:09 +0000 (14:52 -0800)
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>
kernel/kmod.c

index 9f923f8ce6a0cd3c225f73eb79c865777ac60967..f936108f29633d03736f475a4bf3d9f0b416645d 100644 (file)
@@ -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