aboutsummaryrefslogtreecommitdiff
path: root/apps/drivers/device/device.h
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2012-10-20 16:53:52 -0700
committerpx4dev <px4@purgatory.org>2012-10-20 16:53:52 -0700
commitbfbd17a2fa5ef685d2d2f71ab0cedbffec6d62d7 (patch)
treeb7bf1c0ff613763ab102aaeeb0e4d0d7aba7e555 /apps/drivers/device/device.h
parentd2ef2afb0b53ec0e889e11f483d45b4272bba704 (diff)
downloadpx4-firmware-bfbd17a2fa5ef685d2d2f71ab0cedbffec6d62d7.tar.gz
px4-firmware-bfbd17a2fa5ef685d2d2f71ab0cedbffec6d62d7.tar.bz2
px4-firmware-bfbd17a2fa5ef685d2d2f71ab0cedbffec6d62d7.zip
Make it possible to run fmu and px4io simultaneously with full control over both sets of possible PWM outputs. First started wins.
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.
*