diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-10 17:45:14 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-10 18:00:34 +0200 |
commit | 6326a423e7d3df2062bf29a4e9710aeecac89411 (patch) | |
tree | 5db9bb70a53a6b2e43a67df5db837ef8bc1099af /device.h | |
parent | d2b9fd2bb971b3b7a23acdfa1748d6810629c94c (diff) |
device: ignore a couple of 'API' devices
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -31,7 +31,8 @@ typedef struct Device Device; typedef enum DeviceState { DEVICE_DEAD, DEVICE_AVAILABLE, - _DEVICE_STATE_MAX + _DEVICE_STATE_MAX, + _DEVICE_STATE_INVALID = -1 } DeviceState; struct Device { @@ -39,7 +40,6 @@ struct Device { DeviceState state; - /* A single device can be created by multiple sysfs objects */ char *sysfs; }; |