[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>
This commit is contained in:
Jan Engelhardt 2007-01-29 13:19:56 -08:00 committed by Linus Torvalds
parent efee2b8126
commit 3d8b3036f5

View file

@ -6,6 +6,10 @@
#include <linux/kdev_t.h> #include <linux/kdev_t.h>
#include <linux/list.h> #include <linux/list.h>
struct file_operations;
struct inode;
struct module;
struct cdev { struct cdev {
struct kobject kobj; struct kobject kobj;
struct module *owner; struct module *owner;