瀏覽代碼

[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>
Jan Engelhardt 18 年之前
父節點
當前提交
3d8b3036f5
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      include/linux/cdev.h

+ 4 - 0
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;