diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-06-29 04:13:31 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-06-29 04:13:31 +0000 |
commit | 0f72bbb377601f0e42e4cb3888a6742e19e9846d (patch) | |
tree | 7d17449dd5b5e724d365d25f8d394c7c1fff1997 /sys/dev/pci/drm/i915 | |
parent | e51ac8c336246fb64d5b133a9336809fceed86ac (diff) |
make pci_device_id var const to avoid discarding const warning
Diffstat (limited to 'sys/dev/pci/drm/i915')
-rw-r--r-- | sys/dev/pci/drm/i915/i915_drv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915/i915_drv.h b/sys/dev/pci/drm/i915/i915_drv.h index eb981b8276d..b3a4c0dcdd9 100644 --- a/sys/dev/pci/drm/i915/i915_drv.h +++ b/sys/dev/pci/drm/i915/i915_drv.h @@ -892,7 +892,7 @@ struct inteldrm_softc { struct vga_pci_bar bar; struct vga_pci_bar *vga_regs; - struct pci_device_id *id; + const struct pci_device_id *id; int console; int primary; |