Messages in this thread Patch in this message | | | From | Greg Kroah-Hartman <> | Subject | [PATCH 7/9] make kernel/kmod.c:kmod_mk static | Date | Fri, 23 Feb 2007 15:15:54 -0800 |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |