From: Eva Rachel Retuya Date: Mon, 15 Feb 2016 05:52:15 +0000 (+0800) Subject: staging: wilc1000: declare 'fops' as const X-Git-Tag: next-20160301~20^2~398 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8a7b2b18154f0e18d1214e882d5862a9e1f90b4a;p=karo-tx-linux.git 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 --- 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[] = {