summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/whci/debug.c
diff options
context:
space:
mode:
authorAlexey Dobriyan2009-10-02 00:43:56 +0200
committerLinus Torvalds2009-10-02 01:11:11 +0200
commit828c09509b9695271bcbdc53e9fc9a6a737148d2 (patch)
tree072ffad6f02db7bf4095e07e2b90247cfa042998 /drivers/usb/host/whci/debug.c
parentdrivers/input/input.c: fix CONFIG_PM=n warning (diff)
downloadkernel-qcow2-linux-828c09509b9695271bcbdc53e9fc9a6a737148d2.tar.gz
kernel-qcow2-linux-828c09509b9695271bcbdc53e9fc9a6a737148d2.tar.xz
kernel-qcow2-linux-828c09509b9695271bcbdc53e9fc9a6a737148d2.zip
const: constify remaining file_operations
[akpm@linux-foundation.org: fix KVM] Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/usb/host/whci/debug.c')
-rw-r--r--drivers/usb/host/whci/debug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/host/whci/debug.c b/drivers/usb/host/whci/debug.c
index cf2d45946c57..2273c815941f 100644
--- a/drivers/usb/host/whci/debug.c
+++ b/drivers/usb/host/whci/debug.c
@@ -134,7 +134,7 @@ static int pzl_open(struct inode *inode, struct file *file)
return single_open(file, pzl_print, inode->i_private);
}
-static struct file_operations di_fops = {
+static const struct file_operations di_fops = {
.open = di_open,
.read = seq_read,
.llseek = seq_lseek,
@@ -142,7 +142,7 @@ static struct file_operations di_fops = {
.owner = THIS_MODULE,
};
-static struct file_operations asl_fops = {
+static const struct file_operations asl_fops = {
.open = asl_open,
.read = seq_read,
.llseek = seq_lseek,
@@ -150,7 +150,7 @@ static struct file_operations asl_fops = {
.owner = THIS_MODULE,
};
-static struct file_operations pzl_fops = {
+static const struct file_operations pzl_fops = {
.open = pzl_open,
.read = seq_read,
.llseek = seq_lseek,