diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-16 18:48:29 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-16 18:48:29 +0000 |
commit | eeb84bc3e196548c3c09bd049a648a19e2836f1d (patch) | |
tree | f4042ce95d07de6719bf84b76ae29be66bb53b55 /nuttx/examples/pashello/device.c | |
parent | 74e863032ed58ce23f1a0a334f5314d5b1a445bf (diff) | |
download | px4-nuttx-eeb84bc3e196548c3c09bd049a648a19e2836f1d.tar.gz px4-nuttx-eeb84bc3e196548c3c09bd049a648a19e2836f1d.tar.bz2 px4-nuttx-eeb84bc3e196548c3c09bd049a648a19e2836f1d.zip |
Add infrastructure to support poll()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1258 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/pashello/device.c')
-rw-r--r-- | nuttx/examples/pashello/device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/examples/pashello/device.c b/nuttx/examples/pashello/device.c index b6db1db5c..fb2deff65 100644 --- a/nuttx/examples/pashello/device.c +++ b/nuttx/examples/pashello/device.c @@ -68,7 +68,8 @@ static struct file_operations hello_fops = hello_read, /* read */ 0, /* write */ 0, /* seek */ - 0 /* ioctl */ + 0, /* ioctl */ + 0 /* poll */ }; /**************************************************************************** |