summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-03-04 21:13:18 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:39:48 -0700
commit03cfa1394fcc2c4386f8af22e5a4d9fdd7cecc50 (patch)
tree5cb121d8bcc88d09595686273f279eca53734c37 /udev.h
parentc98cb35eb5f24940cf8836be96de42c9e8795f27 (diff)
[PATCH] correct udev_init_device
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 d6dbd7c332..ddcfa81c8e 100644
--- a/udev.h
+++ b/udev.h
@@ -31,6 +31,7 @@
#define ALARM_TIMEOUT 120
#define COMMENT_CHARACTER '#'
+#define LINE_SIZE 512
#define NAME_SIZE 256
#define USER_SIZE 32
@@ -39,8 +40,6 @@
#define SUBSYSTEM_SIZE 32
#define SEQNUM_SIZE 32
-#define LINE_SIZE 512
-
#define DEVD_DIR "/etc/dev.d"
#define DEVD_SUFFIX ".dev"
@@ -62,6 +61,7 @@ struct udevice {
char subsystem[SUBSYSTEM_SIZE];
char name[NAME_SIZE];
+ char devname[NAME_SIZE];
char symlink[NAME_SIZE];
char owner[USER_SIZE];
char group[USER_SIZE];
@@ -69,7 +69,6 @@ struct udevice {
char type;
dev_t devt;
- char devname[NAME_SIZE];
char tmp_node[NAME_SIZE];
int partitions;
int ignore_remove;