[PATCH 7/9] make kernel/kmod.c:kmod_mk static

Greg Kroah-Hartman
2007-02-23T23:17:55Z

From: Adrian Bunk <bunk@stusta.de>

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 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/kmod.c b/kernel/kmod.c
index 9f923f8..f936108 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
--
1.5.0.1