summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-11-23 22:25:13 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:02 -0700
commitf3b04a2e0a041aa5546284c5bfc2022ab3e8b15f (patch)
treed0f1da5b8f8be379d315fd5f07ce33802bf84bd3 /udev.h
parente5fbfe0a13e11c08ed72b67fa4e72a93bcd5de37 (diff)
[PATCH] added ability to put format specifiers in the CALLOUT program string.
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) \