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/drivers/dev_zero.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/drivers/dev_zero.c')
-rw-r--r-- | nuttx/drivers/dev_zero.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/drivers/dev_zero.c b/nuttx/drivers/dev_zero.c index a18509415..876734770 100644 --- a/nuttx/drivers/dev_zero.c +++ b/nuttx/drivers/dev_zero.c @@ -66,7 +66,8 @@ static struct file_operations devzero_fops = devzero_read, /* read */ devzero_write, /* write */ 0, /* seek */ - 0 /* ioctl */ + 0, /* ioctl */ + 0 /* poll */ }; /**************************************************************************** |