From bfbd17a2fa5ef685d2d2f71ab0cedbffec6d62d7 Mon Sep 17 00:00:00 2001 From: px4dev Date: Sat, 20 Oct 2012 16:53:52 -0700 Subject: Make it possible to run fmu and px4io simultaneously with full control over both sets of possible PWM outputs. First started wins. --- apps/drivers/device/device.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps/drivers/device/device.h') 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 @@ -286,6 +286,12 @@ public: bool is_open() { return _open_count > 0; } 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. -- cgit v1.2.3