[PATCH 5/5] DSPBRIDGE: Removes checkpatch error with file_operations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From 8d29388e77d01a9cf549a5adfdc8f21244f14cad Mon Sep 17 00:00:00 2001
From: Armando Uribe De Leon <x0095078@xxxxxx>
Date: Thu, 8 Apr 2010 19:26:23 -0500
Subject: [PATCH 5/5] DSPBRIDGE: Removes checkpatch error with file_operations

This patch removes the checptach error sue to the missing const modifier in file_operations.

Signed-off-by: Armando Uribe De Leon <x0095078@xxxxxx>
---
 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 3369e6c..ed3a60c 100644
--- a/drivers/dsp/bridge/rmgr/drv_interface.c
+++ b/drivers/dsp/bridge/rmgr/drv_interface.c
@@ -140,7 +140,7 @@ MODULE_VERSION(DSPBRIDGE_VERSION);
 
 static char *driver_name = DRIVER_NAME;
 
-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.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux