diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2005-02-21 13:45:04 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:36:13 -0700 |
commit | 5ef42682053f57fc031d420f0a2ae3e204421b8d (patch) | |
tree | 7ddd231fd445f1dfc10f2f22e1dae7b551a0ced9 /udev.h | |
parent | 7e720bd4ad8257d81d273d98294ebbcc03ade9ba (diff) |
[PATCH] switch device type to enum
Diffstat (limited to 'udev.h')
-rw-r--r-- | udev.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -48,6 +48,14 @@ #define DEFAULT_PARTITIONS_COUNT 15 +enum device_type { + UNKNOWN, + CLASS, + BLOCK, + NET, + PHYSDEV, +}; + struct udevice { char devpath[DEVPATH_SIZE]; char subsystem[SUBSYSTEM_SIZE]; |