summaryrefslogtreecommitdiff
path: root/include/linux/cdev.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@kroah.com>2004-02-08 21:10:06 -0800
committerGreg Kroah-Hartman <greg@kroah.com>2004-02-08 21:10:06 -0800
commit97018fa965cde82b6c8a9a9717bf30d3219a1da8 (patch)
tree8eed1e9bf59b8cbed8cb91676edb7507837f7fd6 /include/linux/cdev.h
parent7b51a623c49cde3525bd709bf600b57abfe88775 (diff)
parentd4f63c8a506cf37ea05681f824cdd407ea8aeaf8 (diff)
Merge kroah.com:/home/greg/linux/BK/bleed-2.6
into kroah.com:/home/greg/linux/BK/driver-2.6
Diffstat (limited to 'include/linux/cdev.h')
-rw-r--r--include/linux/cdev.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/cdev.h b/include/linux/cdev.h
index 191c800fa127..f1996ec09e96 100644
--- a/include/linux/cdev.h
+++ b/include/linux/cdev.h
@@ -7,6 +7,8 @@ struct cdev {
struct module *owner;
struct file_operations *ops;
struct list_head list;
+ dev_t dev;
+ unsigned int count;
};
void cdev_init(struct cdev *, struct file_operations *);
@@ -21,8 +23,6 @@ int cdev_add(struct cdev *, dev_t, unsigned);
void cdev_del(struct cdev *);
-void cdev_unmap(dev_t, unsigned);
-
void cd_forget(struct inode *);
#endif