summaryrefslogtreecommitdiff
path: root/nuttx/drivers/bch
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-10 15:22:49 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-10 15:22:49 +0000
commita40fde233cc74a5ee67442c4575448224f995b1d (patch)
tree9edc06d138a9bb3f36638ba6604f748b50634043 /nuttx/drivers/bch
parent222b94e8cf815b57199fba647bfdc83478a59140 (diff)
downloadpx4-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/drivers/bch')
-rw-r--r--nuttx/drivers/bch/bchdev_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/drivers/bch/bchdev_driver.c b/nuttx/drivers/bch/bchdev_driver.c
index cf5ab4025..42d9825db 100644
--- a/nuttx/drivers/bch/bchdev_driver.c
+++ b/nuttx/drivers/bch/bchdev_driver.c
@@ -78,7 +78,7 @@ static int bch_ioctl(FAR struct file *filp, int cmd, unsigned long arg);
* Public Data
****************************************************************************/
-struct file_operations bch_fops =
+static const struct file_operations bch_fops =
{
bch_open, /* open */
bch_close, /* close */