summaryrefslogtreecommitdiff
path: root/include/linux/cdev.h
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@linux01.gwdg.de>2007-01-30 00:19:56 +0300
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-01-30 19:26:45 +0300
commit3d8b3036f5260b366ec0982aa2f862d841d058c2 (patch)
treeb7970e26a959f3a167b17f5d49c682ff1642bde8 /include/linux/cdev.h
parentefee2b812645d10824bf6cb247789910bcb66881 (diff)
downloadlinux-3d8b3036f5260b366ec0982aa2f862d841d058c2.tar.xz
[PATCH] cdev.h: forward declarations
Apparently this broke due to missing `struct inode' declaration. Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Cc: Noah Watkins <nwatkins@ittc.ku.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/cdev.h')
-rw-r--r--include/linux/cdev.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/cdev.h b/include/linux/cdev.h
index f309b00e986e..1e29b13d0062 100644
--- a/include/linux/cdev.h
+++ b/include/linux/cdev.h
@@ -6,6 +6,10 @@
#include <linux/kdev_t.h>
#include <linux/list.h>
+struct file_operations;
+struct inode;
+struct module;
+
struct cdev {
struct kobject kobj;
struct module *owner;