Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20665472 authored by Monam Agarwal's avatar Monam Agarwal Committed by Greg Kroah-Hartman
Browse files

Staging: dgnc: Fix struct file_operations should normally be const



This patch fixes following checkpatch.pl warning:
WARNING:struct file_operations should normally be const

Signed-off-by: default avatarMonam Agarwal <monamagarwal123@gmail.com>
Acked-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent eb55b5b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ module_exit(dgnc_cleanup_module);
/*
 * File operations permitted on Control/Management major.
 */
static struct file_operations dgnc_BoardFops =
static const struct file_operations dgnc_BoardFops =
{
	.owner		=	THIS_MODULE,
	.unlocked_ioctl =  	dgnc_mgmt_ioctl,