summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
Diffstat (limited to 'udev.h')
-rw-r--r--udev.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/udev.h b/udev.h
index c2f9859c5a..2d2ef364b6 100644
--- a/udev.h
+++ b/udev.h
@@ -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];