diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-06-29 01:17:16 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-06-29 01:17:16 +0000 |
commit | e51ac8c336246fb64d5b133a9336809fceed86ac (patch) | |
tree | 6bf9a18a3f5d346368de4b7949d71b9259b47f51 /sys | |
parent | 8909d20b3886b7a3f2298b18ac6be1f5f1bec3fa (diff) |
make fbops const to avoid warning about discarding const
found the hard way by deraadt@ on sparc64
fix suggested by kettenis@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/drm/include/linux/fb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/include/linux/fb.h b/sys/dev/pci/drm/include/linux/fb.h index df3af7c5647..4205f1de13d 100644 --- a/sys/dev/pci/drm/include/linux/fb.h +++ b/sys/dev/pci/drm/include/linux/fb.h @@ -30,7 +30,7 @@ struct fb_ops { struct fb_info { struct fb_var_screeninfo var; - struct fb_ops *fbops; + const struct fb_ops *fbops; char *screen_buffer; void *par; int fbcon_rotate_hint; |