summaryrefslogtreecommitdiffstats
path: root/fs/char_dev.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2006-09-30 20:52:18 +0200
committerJens Axboe <axboe@kernel.dk>2006-09-30 20:52:18 +0200
commit07f3f05c1e3052b8656129b2a5aca9f888241a34 (patch)
tree3338b004d518a0d2189efdc3fb88e94e1c02c0ce /fs/char_dev.c
parent65e6f5bc8149165efb9d7bdbd142bb837d5edfeb (diff)
downloadlinux-07f3f05c1e3052b8656129b2a5aca9f888241a34.tar.gz
linux-07f3f05c1e3052b8656129b2a5aca9f888241a34.tar.bz2
linux-07f3f05c1e3052b8656129b2a5aca9f888241a34.zip
[PATCH] BLOCK: Move extern declarations out of fs/*.c into header files [try #6]
Create a new header file, fs/internal.h, for common definitions local to the sources in the fs/ directory. Move extern definitions that should be in header files from fs/*.c to fs/internal.h or other main header files where they span directories. Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/char_dev.c')
-rw-r--r--fs/char_dev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/char_dev.c b/fs/char_dev.c
index 1f3285affa39..a885f46ca001 100644
--- a/fs/char_dev.c
+++ b/fs/char_dev.c
@@ -24,6 +24,7 @@
#ifdef CONFIG_KMOD
#include <linux/kmod.h>
#endif
+#include "internal.h"
/*
* capabilities for /dev/mem, /dev/kmem and similar directly mappable character