diff options
author | 2020-01-05 13:46:02 +0000 | |
---|---|---|
committer | 2020-01-05 13:46:02 +0000 | |
commit | c02bfb27cf5527eb0816ec39aad4db3ad4345c8c (patch) | |
tree | 23c8e2bdc85cbfc1ff30eb9faa8ff5e6466eb15c /sys/dev/pci/drm/drm_linux.c | |
parent | regen (diff) | |
download | wireguard-openbsd-c02bfb27cf5527eb0816ec39aad4db3ad4345c8c.tar.xz wireguard-openbsd-c02bfb27cf5527eb0816ec39aad4db3ad4345c8c.zip |
Constify instances of struct fileops.
OK anton@, mpi@, bluhm@
Diffstat (limited to 'sys/dev/pci/drm/drm_linux.c')
-rw-r--r-- | sys/dev/pci/drm/drm_linux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/drm_linux.c b/sys/dev/pci/drm/drm_linux.c index fe67f33f7dd..ddb8be808e9 100644 --- a/sys/dev/pci/drm/drm_linux.c +++ b/sys/dev/pci/drm/drm_linux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: drm_linux.c,v 1.54 2019/12/30 09:30:31 mpi Exp $ */ +/* $OpenBSD: drm_linux.c,v 1.55 2020/01/05 13:46:02 visa Exp $ */ /* * Copyright (c) 2013 Jonathan Gray <jsg@openbsd.org> * Copyright (c) 2015, 2016 Mark Kettenis <kettenis@openbsd.org> @@ -1549,7 +1549,7 @@ dmabuf_seek(struct file *fp, off_t *offset, int whence, struct proc *p) return (0); } -struct fileops dmabufops = { +const struct fileops dmabufops = { .fo_read = dmabuf_read, .fo_write = dmabuf_write, .fo_ioctl = dmabuf_ioctl, |