summaryrefslogtreecommitdiffstats
path: root/include/linux/cdev.h
diff options
context:
space:
mode:
authorJan Engelhardt2007-01-29 22:19:56 +0100
committerLinus Torvalds2007-01-30 17:26:45 +0100
commit3d8b3036f5260b366ec0982aa2f862d841d058c2 (patch)
treeb7970e26a959f3a167b17f5d49c682ff1642bde8 /include/linux/cdev.h
parent[PATCH] ufs: reallocation fix (diff)
downloadkernel-qcow2-linux-3d8b3036f5260b366ec0982aa2f862d841d058c2.tar.gz
kernel-qcow2-linux-3d8b3036f5260b366ec0982aa2f862d841d058c2.tar.xz
kernel-qcow2-linux-3d8b3036f5260b366ec0982aa2f862d841d058c2.zip
[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;