aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/csr
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-04-04 19:09:41 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-04-09 14:16:20 -0400
commit75ef9de1267ba171ecefafca35758e2be0db10dc (patch)
tree597b9e9680535d3ac6c4c50c065090560414a070 /drivers/staging/csr
parentc10c062cadf527c3e072f01280d266fbbc592f9d (diff)
downloadlinaro-lsk-75ef9de1267ba171ecefafca35758e2be0db10dc.tar.gz
constify a bunch of struct file_operations instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/staging/csr')
-rw-r--r--drivers/staging/csr/drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/csr/drv.c b/drivers/staging/csr/drv.c
index 3bd52fdeac3..33742ba1377 100644
--- a/drivers/staging/csr/drv.c
+++ b/drivers/staging/csr/drv.c
@@ -1941,7 +1941,7 @@ uf_sme_queue_message(unifi_priv_t *priv, u8 *buffer, int length)
*
****************************************************************************
*/
-static struct file_operations unifi_fops = {
+static const struct file_operations unifi_fops = {
.owner = THIS_MODULE,
.open = unifi_open,
.release = unifi_release,
@@ -2041,7 +2041,7 @@ void uf_destroy_device_nodes(unifi_priv_t *priv)
* ----------------------------------------------------------------
*/
static int
-uf_create_debug_device(struct file_operations *fops)
+uf_create_debug_device(const struct file_operations *fops)
{
int ret;