mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
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>
This commit is contained in:
parent
d38f5ba482
commit
8a7b2b1815
1 changed files with 1 additions and 1 deletions
|
@ -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[] = {
|
||||
|
|
Loading…
Reference in a new issue