aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/device/device.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 3810716057..c67205cae7 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -66,6 +66,12 @@ struct device_operations {
const struct pnp_mode_ops *ops_pnp_mode;
};
+/**
+ * Standard device operations function pointers shims.
+ */
+static inline void device_noop(struct device *dev) {}
+#define DEVICE_NOOP device_noop
+
#endif /* ! __SIMPLE_DEVICE__ */