diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-10 15:22:49 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-10 15:22:49 +0000 |
commit | a40fde233cc74a5ee67442c4575448224f995b1d (patch) | |
tree | 9edc06d138a9bb3f36638ba6604f748b50634043 /nuttx/examples/pashello/device.c | |
parent | 222b94e8cf815b57199fba647bfdc83478a59140 (diff) | |
download | px4-nuttx-a40fde233cc74a5ee67442c4575448224f995b1d.tar.gz px4-nuttx-a40fde233cc74a5ee67442c4575448224f995b1d.tar.bz2 px4-nuttx-a40fde233cc74a5ee67442c4575448224f995b1d.zip |
All file_operations vtables should be static const
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1871 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/pashello/device.c')
-rw-r--r-- | nuttx/examples/pashello/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/examples/pashello/device.c b/nuttx/examples/pashello/device.c index fb2deff65..b4401531a 100644 --- a/nuttx/examples/pashello/device.c +++ b/nuttx/examples/pashello/device.c @@ -61,7 +61,7 @@ static ssize_t hello_read(struct file *, char *, size_t); * Private Data ****************************************************************************/ -static struct file_operations hello_fops = +static const struct file_operations hello_fops = { 0, /* open */ 0, /* close */ |