From patchwork Sat Apr 17 19:00:36 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Uribe de Leon, Armando" X-Patchwork-Id: 93320 X-Patchwork-Delegate: omar.ramirez@ti.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o3HJ0gjQ018230 for ; Sat, 17 Apr 2010 19:00:42 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753708Ab0DQTAm (ORCPT ); Sat, 17 Apr 2010 15:00:42 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:33873 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753486Ab0DQTAl convert rfc822-to-8bit (ORCPT ); Sat, 17 Apr 2010 15:00:41 -0400 Received: from dlep34.itg.ti.com ([157.170.170.115]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id o3HJ0c7I014064 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 17 Apr 2010 14:00:38 -0500 Received: from dlep26.itg.ti.com (localhost [127.0.0.1]) by dlep34.itg.ti.com (8.13.7/8.13.7) with ESMTP id o3HJ0bC6001426; Sat, 17 Apr 2010 14:00:37 -0500 (CDT) Received: from dlee74.ent.ti.com (localhost [127.0.0.1]) by dlep26.itg.ti.com (8.13.8/8.13.8) with ESMTP id o3HJ0brc011882; Sat, 17 Apr 2010 14:00:37 -0500 (CDT) Received: from dlee04.ent.ti.com ([157.170.170.9]) by dlee74.ent.ti.com ([157.170.170.8]) with mapi; Sat, 17 Apr 2010 14:00:37 -0500 From: "Uribe de Leon, Armando" To: "linux-omap@vger.kernel.org" CC: "hiroshi.DOYU@nokia.com" , "ameya.palande@nokia.com" , "felipe.contreras@nokia.com" Date: Sat, 17 Apr 2010 14:00:36 -0500 Subject: [PATCH 5/5] DSPBRIDGE: Removes checkpatch error with file_operations Thread-Topic: [PATCH 5/5] DSPBRIDGE: Removes checkpatch error with file_operations Thread-Index: AcreYEOX/mzkJDdlSRqbwtwIOD/Yug== Message-ID: <67059DBF19D7214F9C66BB0EA91BA90EC26227F2@dlee04.ent.ti.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sat, 17 Apr 2010 19:00:43 +0000 (UTC) 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,