[PATCH v2 11/20] DSPBRIDGE: checkpatch - struct file_operations should normally be const

Omar Ramirez Luna
2009-11-30T21:49:00Z

WARNING: struct file_operations should normally be const

Signed-off-by: Omar Ramirez Lua <omar.ramirez@ti.com>
CC: Nishant Menon <nm@ti.com>
---
drivers/dsp/bridge/rmgr/drv_interface.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/dsp/bridge/rmgr/drv_interface.c b/drivers/dsp/bridge/rmgr/drv_interface.c
index f480d22..94f35d1 100644
--- a/drivers/dsp/bridge/rmgr/drv_interface.c
+++ b/drivers/dsp/bridge/rmgr/drv_interface.c
@@ -166,7 +166,7 @@ static char *driver_name = DRIVER_NAME;
static struct GT_Mask driverTrace;
#endif /* CONFIG_BRIDGE_DEBUG */

-static struct file_operations bridge_fops = {
+static const struct file_operations bridge_fops = {
.open = bridge_open,
.release = bridge_release,
.unlocked_ioctl = bridge_ioctl,
--
1.6.2.4