Commit 8a7b2b18 authored by Eva Rachel Retuya's avatar Eva Rachel Retuya Committed by Greg Kroah-Hartman

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: default avatarEva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d38f5ba4
......@@ -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[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment