Needs conditional compilation for POLL disabled

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1273 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2008-11-17 23:58:46 +00:00
parent 0b84cc9139
commit 17edec8443
4 changed files with 14 additions and 6 deletions
+4 -2
View File
@@ -85,8 +85,10 @@ struct file_operations bch_fops =
bch_read, /* read */
bch_write, /* write */
0, /* seek */
bch_ioctl, /* ioctl */
0 /* poll */
bch_ioctl /* ioctl */
#ifndef CONFIG_DISABLE_POLL
, 0 /* poll */
#endif
};
/****************************************************************************