summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2003-06-07 13:36:36 +0200
committerSam Ravnborg <sam@mars.ravnborg.org>2003-06-07 13:36:36 +0200
commit20a88ed087d6de8ec0c7f75a142f53efef65bf30 (patch)
treede7eb1cc9bb03660ba6411a67b4ea054888585f6
parent78a34380586d5e91977042a43afe5affef64444a (diff)
docbook: Move definition of MODULENAME_SIZE
The location between the comment and the prototype confused kernel-doc. Kernel-doc requires the prototype to follow after the comment section.
-rw-r--r--kernel/kmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kmod.c b/kernel/kmod.c
index 8ceea8e842b7..d9e4299a8765 100644
--- a/kernel/kmod.c
+++ b/kernel/kmod.c
@@ -58,9 +58,9 @@ char modprobe_path[256] = "/sbin/modprobe";
* If module auto-loading support is disabled then this function
* becomes a no-operation.
*/
-#define MODULENAME_SIZE 32
int request_module(const char *fmt, ...)
{
+#define MODULENAME_SIZE 32
va_list args;
char module_name[MODULENAME_SIZE];
unsigned int max_modprobes;