summaryrefslogtreecommitdiff
path: root/nuttx/drivers/can.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-17 23:58:46 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-17 23:58:46 +0000
commit232543710ef6718a95b3629bcda84350e33cfbea (patch)
tree46702e3d891f55305f615fd974c9aef2aa8482a2 /nuttx/drivers/can.c
parent27291c423ba989c93b6cb199f3217ee52328aa61 (diff)
downloadnuttx-232543710ef6718a95b3629bcda84350e33cfbea.tar.gz
nuttx-232543710ef6718a95b3629bcda84350e33cfbea.tar.bz2
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.c6
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
};
/****************************************************************************