diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-16 18:48:29 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-16 18:48:29 +0000 |
commit | eeb84bc3e196548c3c09bd049a648a19e2836f1d (patch) | |
tree | f4042ce95d07de6719bf84b76ae29be66bb53b55 /nuttx/drivers/can.c | |
parent | 74e863032ed58ce23f1a0a334f5314d5b1a445bf (diff) | |
download | px4-nuttx-eeb84bc3e196548c3c09bd049a648a19e2836f1d.tar.gz px4-nuttx-eeb84bc3e196548c3c09bd049a648a19e2836f1d.tar.bz2 px4-nuttx-eeb84bc3e196548c3c09bd049a648a19e2836f1d.zip |
Add infrastructure to support poll()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1258 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/can.c')
-rw-r--r-- | nuttx/drivers/can.c | 5 |
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 */ }; /**************************************************************************** |