aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/kmod.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-02-19 19:07:49 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2007-02-23 17:52:09 -0500
commit4541ac94d0ea0b00776edd5904ac91dd6d6330f7 (patch)
treebb2e9dac1923a9f7e5ad3b660f14177c14d38068 /kernel/kmod.c
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/kmod.c')
-rw-r--r--kernel/kmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kmod.c b/kernel/kmod.c
index 9f923f8ce6a0..f936108f2963 100644
--- a/kernel/kmod.c
+++ b/kernel/kmod.c
@@ -48,7 +48,7 @@ static struct workqueue_struct *khelper_wq;
48 modprobe_path is set via /proc/sys. 48 modprobe_path is set via /proc/sys.
49*/ 49*/
50char modprobe_path[KMOD_PATH_LEN] = "/sbin/modprobe"; 50char modprobe_path[KMOD_PATH_LEN] = "/sbin/modprobe";
51struct module_kobject kmod_mk; 51static struct module_kobject kmod_mk;
52 52
53/** 53/**
54 * request_module - try to load a kernel module 54 * request_module - try to load a kernel module