[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1286532810-5370-2-git-send-email-tdent48227@gmail.com>
Date: Fri, 8 Oct 2010 06:13:29 -0400
From: Tracey Dent <tdent48227@...il.com>
To: greg@...ah.com
Cc: linux-kernel@...r.kernel.org, Tracey Dent <tdent48227@...il.com>
Subject: [PATCH 2/3] Staging: speakup: devsynth: file_operations should be const
Fixed file_operation struct, so that it is const.
---
drivers/staging/speakup/devsynth.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/speakup/devsynth.c b/drivers/staging/speakup/devsynth.c
index a465653..8b74622 100644
--- a/drivers/staging/speakup/devsynth.c
+++ b/drivers/staging/speakup/devsynth.c
@@ -56,7 +56,7 @@ static int speakup_file_release(struct inode *ip, struct file *fp)
return 0;
}
-static struct file_operations synth_fops = {
+static const struct file_operations synth_fops = {
.read = speakup_file_read,
.write = speakup_file_write,
.open = speakup_file_open,
--
1.7.3.1.104.gc752e
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists