aboutsummaryrefslogtreecommitdiff
path: root/apps/drivers/device/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/drivers/device/device.h')
-rw-r--r--apps/drivers/device/device.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/drivers/device/device.h b/apps/drivers/device/device.h
index 98dbf8bfb..9af678465 100644
--- a/apps/drivers/device/device.h
+++ b/apps/drivers/device/device.h
@@ -287,6 +287,12 @@ public:
protected:
/**
+ * Pointer to the default cdev file operations table; useful for
+ * registering clone devices etc.
+ */
+ static const struct file_operations fops;
+
+ /**
* Check the current state of the device for poll events from the
* perspective of the file.
*