diff options
author | Eva Rachel Retuya <eraretuya@gmail.com> | 2016-02-15 13:52:15 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-15 18:24:07 -0800 |
commit | 8a7b2b18154f0e18d1214e882d5862a9e1f90b4a (patch) | |
tree | eba511aedc6dfef86bf63ff6ce9ea5b7a11ed4dd /drivers/staging/wilc1000/wilc_debugfs.c | |
parent | d38f5ba48285afc5a841c9940e88b5b88afc36ce (diff) | |
download | op-kernel-dev-8a7b2b18154f0e18d1214e882d5862a9e1f90b4a.zip op-kernel-dev-8a7b2b18154f0e18d1214e882d5862a9e1f90b4a.tar.gz |
staging: wilc1000: declare 'fops' as const
Change the declaration of the file_operations structure 'fops' into
const as suggested by checkpatch.
WARNING: struct file_operations should normally be const
Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_debugfs.c')
-rw-r--r-- | drivers/staging/wilc1000/wilc_debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/wilc_debugfs.c b/drivers/staging/wilc1000/wilc_debugfs.c index da7ec8b..a27b077 100644 --- a/drivers/staging/wilc1000/wilc_debugfs.c +++ b/drivers/staging/wilc1000/wilc_debugfs.c @@ -130,7 +130,7 @@ struct wilc_debugfs_info_t { const char *name; int perm; unsigned int data; - struct file_operations fops; + const struct file_operations fops; }; static struct wilc_debugfs_info_t debugfs_info[] = { |