summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-11-29 02:15:55 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:00:29 -0700
commit2af003feb21e79b68b048c212bb898b293b75421 (patch)
tree1c24d3eb3b5f10de32f57adee2054c78a9d27354 /udev.h
parent45a7b668eca398831c0cfc39e4237494b3d603e9 (diff)
[PATCH] trivial cleanups and change some comments
Diffstat (limited to 'udev.h')
-rw-r--r--udev.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/udev.h b/udev.h
index 2c5270a4c3..0703b884cf 100644
--- a/udev.h
+++ b/udev.h
@@ -50,14 +50,17 @@
struct udevice {
char devpath[DEVPATH_SIZE];
char subsystem[SUBSYSTEM_SIZE];
+
char name[NAME_SIZE];
+ char symlink[NAME_SIZE];
char owner[OWNER_SIZE];
char group[GROUP_SIZE];
+ mode_t mode;
char type;
int major;
int minor;
- mode_t mode;
- char symlink[NAME_SIZE];
+
+ char devname[NAME_SIZE];
int partitions;
int ignore_remove;
int config_line;
@@ -67,7 +70,6 @@ struct udevice {
char program_result[NAME_SIZE];
char kernel_number[NAME_SIZE];
char kernel_name[NAME_SIZE];
- char devname[NAME_SIZE];
int test_run;
};