staging: wilc1000: declare 'fops' as const
PATCH 1/1 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 <[email protected]>
--- drivers/staging/wilc1000/wilc_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/wilc1000/wilc_debugfs.c +1 -1
@@ -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[] = {
Signature · 1 line
1.9.1