Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f014691 authored by Jan Engelhardt's avatar Jan Engelhardt Committed by Greg Kroah-Hartman
Browse files

UIO: constify function pointer tables

parent ae72cddb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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,