summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
Diffstat (limited to 'udev.h')
-rw-r--r--udev.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/udev.h b/udev.h
index 904948d67a..6798f13666 100644
--- a/udev.h
+++ b/udev.h
@@ -68,6 +68,12 @@ struct udevice {
int major;
int minor;
mode_t mode;
+
+ /* fields that help us in building strings */
+ unsigned char bus_id[SYSFS_NAME_LEN];
+ unsigned char callout_value[NAME_SIZE];
+ unsigned char kernel_number[NAME_SIZE];
+
};
#define strfieldcpy(to, from) \