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/bch/bchdev_driver.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/bch/bchdev_driver.c')
-rw-r--r-- | nuttx/drivers/bch/bchdev_driver.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/drivers/bch/bchdev_driver.c b/nuttx/drivers/bch/bchdev_driver.c index 98c7f2991..8e36bcb82 100644 --- a/nuttx/drivers/bch/bchdev_driver.c +++ b/nuttx/drivers/bch/bchdev_driver.c @@ -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 }; /**************************************************************************** |