WARNING: struct file_operations should normally be const
Signed-off-by: Omar Ramirez Lua <[email protected]>
CC: Nishant Menon <[email protected]>
---
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
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html