From 8a7b2b18154f0e18d1214e882d5862a9e1f90b4a Mon Sep 17 00:00:00 2001 From: Eva Rachel Retuya Date: Mon, 15 Feb 2016 13:52:15 +0800 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/wilc1000/wilc_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/wilc_debugfs.c b/drivers/staging/wilc1000/wilc_debugfs.c index da7ec8bb0dd4..a27b077386e5 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[] = { -- 2.39.2