From b41f5da46c3302b33b59e17f84b73fe68c35288c Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 22 Jan 2008 20:50:54 +0100 Subject: [PATCH] --- yaml --- r: 75873 b: refs/heads/master c: 4f0146919be6bff47b5ea97252bcec0286e4dd19 h: refs/heads/master i: 75871: d78c6aa08a02f183e3362443ded81d4d860bc4aa v: v3 --- [refs] | 2 +- trunk/drivers/uio/uio.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index cc0405c51c40..0359afcdaea3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ae72cddb2338bc36b991674a56a7bf70ae104d9e +refs/heads/master: 4f0146919be6bff47b5ea97252bcec0286e4dd19 diff --git a/trunk/drivers/uio/uio.c b/trunk/drivers/uio/uio.c index 03b66fb734a6..cc246faa3590 100644 --- a/trunk/drivers/uio/uio.c +++ b/trunk/drivers/uio/uio.c @@ -39,7 +39,7 @@ struct uio_device { static int uio_major; static DEFINE_IDR(uio_idr); -static struct file_operations uio_fops; +static const struct file_operations uio_fops; /* UIO class infrastructure */ static struct uio_class { @@ -508,7 +508,7 @@ static int uio_mmap(struct file *filep, struct vm_area_struct *vma) } } -static struct file_operations uio_fops = { +static const struct file_operations uio_fops = { .owner = THIS_MODULE, .open = uio_open, .release = uio_release,