diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2005-02-21 13:44:39 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:36:13 -0700 |
commit | 7e720bd4ad8257d81d273d98294ebbcc03ade9ba (patch) | |
tree | 5ce8a27d9abe0213679e815d1d13bcc4597da3d8 /udev.h | |
parent | 1cec1c241600fc11121f9504bc9e95836c03bd9c (diff) |
[PATCH] switch major/minor to dev_t
Diffstat (limited to 'udev.h')
-rw-r--r-- | udev.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -58,8 +58,7 @@ struct udevice { char group[USER_SIZE]; mode_t mode; char type; - int major; - int minor; + dev_t devt; char devname[NAME_SIZE]; char tmp_node[NAME_SIZE]; @@ -79,7 +78,7 @@ extern int udev_remove_device(struct udevice *udev); extern void udev_init_config(void); extern int udev_start(void); extern void udev_multiplex_directory(struct udevice *udev, const char *basedir, const char *suffix); -extern int udev_make_node(struct udevice *udev, const char *file, int major, int minor, mode_t mode, uid_t uid, gid_t gid); +extern int udev_make_node(struct udevice *udev, const char *file, dev_t devt, mode_t mode, uid_t uid, gid_t gid); extern char sysfs_path[SYSFS_PATH_MAX]; extern char udev_root[PATH_MAX]; |