projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae72cdd
)
UIO: constify function pointer tables
author
Jan Engelhardt
<jengelh@computergmbh.de>
Tue, 22 Jan 2008 19:50:54 +0000
(20:50 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 25 Jan 2008 04:40:43 +0000
(20:40 -0800)
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/uio/uio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/uio/uio.c
b/drivers/uio/uio.c
index 03b66fb734a6e7c7656b44a60afebdf4818352cb..cc246faa35909116bb61d19541d47059c99ea0fb 100644
(file)
--- a/
drivers/uio/uio.c
+++ b/
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,