summaryrefslogtreecommitdiff
path: root/nuttx/drivers/can.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/drivers/can.c')
-rw-r--r--nuttx/drivers/can.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/drivers/can.c b/nuttx/drivers/can.c
index e68bfd94d..72e3fdd64 100644
--- a/nuttx/drivers/can.c
+++ b/nuttx/drivers/can.c
@@ -87,8 +87,9 @@ struct file_operations g_canops =
can_close, /* close */
can_read, /* read */
can_write, /* write */
- 0, /* seek */
- can_ioctl /* ioctl */
+ 0, /* seek */
+ can_ioctl, /* ioctl */
+ 0 /* poll */
};
/****************************************************************************