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

From: Greg Kroah-Hartman
Date: Fri Feb 23 2007 - 18:18:33 EST


From: Adrian Bunk <bunk@xxxxxxxxx>

This patch makes the needlessly global struct kmod_mk static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
---
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/