aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/device/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/device/device.h')
-rw-r--r--src/drivers/device/device.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/drivers/device/device.h b/src/drivers/device/device.h
index 7df234cab..b65649d9d 100644
--- a/src/drivers/device/device.h
+++ b/src/drivers/device/device.h
@@ -538,6 +538,9 @@ private:
} // namespace device
// class instance for primary driver of each class
-#define CLASS_DEVICE_PRIMARY 0
+enum CLASS_DEVICE {
+ CLASS_DEVICE_PRIMARY=0,
+ CLASS_DEVICE_SECONDARY=1
+};
#endif /* _DEVICE_DEVICE_H */