summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-02-20 01:07:49 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2007-02-23 14:52:09 -0800
commit4541ac94d0ea0b00776edd5904ac91dd6d6330f7 (patch)
treebb2e9dac1923a9f7e5ad3b660f14177c14d38068 /kernel
parent2a9df4945106d62ed9249a44d666fab93c685f7a (diff)
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>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/kmod.c2
1 files changed, 1 insertions, 1 deletions
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