aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/uio/uio.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@computergmbh.de>2008-01-22 14:50:54 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-24 23:40:43 -0500
commit4f0146919be6bff47b5ea97252bcec0286e4dd19 (patch)
treef7c8f8fe40b81451e4fda1289984a41e96438cce /drivers/uio/uio.c
parentae72cddb2338bc36b991674a56a7bf70ae104d9e (diff)
UIO: constify function pointer tables
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/uio/uio.c')
-rw-r--r--drivers/uio/uio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c
index 03b66fb734a6..cc246faa3590 100644
--- a/drivers/uio/uio.c
+++ b/drivers/uio/uio.c
@@ -39,7 +39,7 @@ struct uio_device {
39 39
40static int uio_major; 40static int uio_major;
41static DEFINE_IDR(uio_idr); 41static DEFINE_IDR(uio_idr);
42static struct file_operations uio_fops; 42static const struct file_operations uio_fops;
43 43
44/* UIO class infrastructure */ 44/* UIO class infrastructure */
45static struct uio_class { 45static struct uio_class {
@@ -508,7 +508,7 @@ static int uio_mmap(struct file *filep, struct vm_area_struct *vma)
508 } 508 }
509} 509}
510 510
511static struct file_operations uio_fops = { 511static const struct file_operations uio_fops = {
512 .owner = THIS_MODULE, 512 .owner = THIS_MODULE,
513 .open = uio_open, 513 .open = uio_open,
514 .release = uio_release, 514 .release = uio_release,