5 #include <linux/kobject.h>
6 #include <linux/kdev_t.h>
7 #include <linux/list.h>
12 const struct file_operations *ops;
13 struct list_head list;
18 void cdev_init(struct cdev *, const struct file_operations *);
20 struct cdev *cdev_alloc(void);
22 void cdev_put(struct cdev *p);
24 int cdev_add(struct cdev *, dev_t, unsigned);
26 void cdev_del(struct cdev *);
28 void cd_forget(struct inode *);
30 extern struct backing_dev_info directly_mappable_cdev_bdi;