diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-17 23:58:46 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-17 23:58:46 +0000 |
commit | 232543710ef6718a95b3629bcda84350e33cfbea (patch) | |
tree | 46702e3d891f55305f615fd974c9aef2aa8482a2 /nuttx/drivers/can.c | |
parent | 27291c423ba989c93b6cb199f3217ee52328aa61 (diff) | |
download | px4-nuttx-232543710ef6718a95b3629bcda84350e33cfbea.tar.gz px4-nuttx-232543710ef6718a95b3629bcda84350e33cfbea.tar.bz2 px4-nuttx-232543710ef6718a95b3629bcda84350e33cfbea.zip |
Needs conditional compilation for POLL disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1273 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/can.c')
-rw-r--r-- | nuttx/drivers/can.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/drivers/can.c b/nuttx/drivers/can.c index 72e3fdd64..3d21634ee 100644 --- a/nuttx/drivers/can.c +++ b/nuttx/drivers/can.c @@ -88,8 +88,10 @@ struct file_operations g_canops = can_read, /* read */ can_write, /* write */ 0, /* seek */ - can_ioctl, /* ioctl */ - 0 /* poll */ + can_ioctl /* ioctl */ +#ifndef CONFIG_DISABLE_POLL + , 0 /* poll */ +#endif }; /**************************************************************************** |