Skip to content

Commit

Permalink
[PATCH] cdev.h: forward declarations
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jan Engelhardt authored and Linus Torvalds committed Jan 30, 2007
1 parent efee2b8 commit 3d8b303
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/linux/cdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3d8b303

Please sign in to comment.