From: Jan Engelhardt Date: Mon, 29 Jan 2007 21:19:56 +0000 (-0800) Subject: [PATCH] cdev.h: forward declarations X-Git-Tag: v2.6.20-rc7~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d8b3036f5260b366ec0982aa2f862d841d058c2;p=platform%2Fkernel%2Flinux-stable.git [PATCH] cdev.h: forward declarations Apparently this broke due to missing `struct inode' declaration. Signed-off-by: Jan Engelhardt Cc: Noah Watkins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/cdev.h b/include/linux/cdev.h index f309b00..1e29b13 100644 --- a/include/linux/cdev.h +++ b/include/linux/cdev.h @@ -6,6 +6,10 @@ #include #include +struct file_operations; +struct inode; +struct module; + struct cdev { struct kobject kobj; struct module *owner;