diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-06-08 13:46:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-06-08 17:23:33 -0700 |
commit | e16f5350d4cf402cffd18898b07c3b72917db192 (patch) | |
tree | 402b737c7cb0237c9cbc64882ac518ae2b067a4c /arch/um/drivers/ubd_kern.c | |
parent | 49277b1c68f9bd22119a5174a68254ec1b39d8c2 (diff) | |
download | op-kernel-dev-e16f5350d4cf402cffd18898b07c3b72917db192.zip op-kernel-dev-e16f5350d4cf402cffd18898b07c3b72917db192.tar.gz |
uml: get declaration of simple_strtoul
Include linux/kernel.h wherever simple_strtoul is used. This kills a
compile warning in stderr_console.c and potential ones in the other files.
This also fixes a bunch of style violations in exitcode.c.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/drivers/ubd_kern.c')
-rw-r--r-- | arch/um/drivers/ubd_kern.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c index 70509dd..2e09f16 100644 --- a/arch/um/drivers/ubd_kern.c +++ b/arch/um/drivers/ubd_kern.c @@ -20,6 +20,7 @@ #define MAJOR_NR UBD_MAJOR #define UBD_SHIFT 4 +#include "linux/kernel.h" #include "linux/module.h" #include "linux/blkdev.h" #include "linux/hdreg.h" |