diff options
Diffstat (limited to 'include/linux/cdev.h')
-rw-r--r-- | include/linux/cdev.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/cdev.h b/include/linux/cdev.h index f8763615a5f2..408bc09ce497 100644 --- a/include/linux/cdev.h +++ b/include/linux/cdev.h | |||
@@ -4,6 +4,7 @@ | |||
4 | #include <linux/kobject.h> | 4 | #include <linux/kobject.h> |
5 | #include <linux/kdev_t.h> | 5 | #include <linux/kdev_t.h> |
6 | #include <linux/list.h> | 6 | #include <linux/list.h> |
7 | #include <linux/device.h> | ||
7 | 8 | ||
8 | struct file_operations; | 9 | struct file_operations; |
9 | struct inode; | 10 | struct inode; |
@@ -26,6 +27,10 @@ void cdev_put(struct cdev *p); | |||
26 | 27 | ||
27 | int cdev_add(struct cdev *, dev_t, unsigned); | 28 | int cdev_add(struct cdev *, dev_t, unsigned); |
28 | 29 | ||
30 | void cdev_set_parent(struct cdev *p, struct kobject *kobj); | ||
31 | int cdev_device_add(struct cdev *cdev, struct device *dev); | ||
32 | void cdev_device_del(struct cdev *cdev, struct device *dev); | ||
33 | |||
29 | void cdev_del(struct cdev *); | 34 | void cdev_del(struct cdev *); |
30 | 35 | ||
31 | void cd_forget(struct inode *); | 36 | void cd_forget(struct inode *); |