diff options
author | 2005-02-21 13:45:04 +0100 | |
---|---|---|
committer | 2005-04-26 23:36:13 -0700 | |
commit | 5ef42682053f57fc031d420f0a2ae3e204421b8d (patch) | |
tree | 7ddd231fd445f1dfc10f2f22e1dae7b551a0ced9 /udev.h | |
parent | [PATCH] switch major/minor to dev_t (diff) | |
download | systemd-5ef42682053f57fc031d420f0a2ae3e204421b8d.tar.gz systemd-5ef42682053f57fc031d420f0a2ae3e204421b8d.tar.bz2 systemd-5ef42682053f57fc031d420f0a2ae3e204421b8d.zip |
[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]; |