summaryrefslogtreecommitdiff
path: root/src/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.h')
-rw-r--r--src/device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device.h b/src/device.h
index 5757c9139..515db6564 100644
--- a/src/device.h
+++ b/src/device.h
@@ -38,8 +38,6 @@ typedef enum DeviceState {
struct Device {
Meta meta;
- DeviceState state;
-
char *sysfs;
/* In order to be able to distuingish dependencies on
@@ -47,6 +45,8 @@ struct Device {
devices for the same sysfs path. We chain them up here. */
LIST_FIELDS(struct Device, same_sysfs);
+
+ DeviceState state;
};
extern const UnitVTable device_vtable;