diff options
Diffstat (limited to 'nuttx/examples/pashello/device.c')
-rw-r--r-- | nuttx/examples/pashello/device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/examples/pashello/device.c b/nuttx/examples/pashello/device.c index def8f60ec..5f0038ad7 100644 --- a/nuttx/examples/pashello/device.c +++ b/nuttx/examples/pashello/device.c @@ -69,7 +69,9 @@ static const struct file_operations hello_fops = 0, /* write */ 0, /* seek */ 0, /* ioctl */ +#ifndef CONFIG_DISABLE_POLL 0 /* poll */ +#endif }; /**************************************************************************** |