From: Jan Engelhardt Date: Mon, 29 Jan 2007 21:19:56 +0000 (-0800) Subject: [PATCH] cdev.h: forward declarations X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3d8b3036f5260b366ec0982aa2f862d841d058c2;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 f309b00e986..1e29b13d006 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;