summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/i915
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-06-29 04:13:31 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-06-29 04:13:31 +0000
commit0f72bbb377601f0e42e4cb3888a6742e19e9846d (patch)
tree7d17449dd5b5e724d365d25f8d394c7c1fff1997 /sys/dev/pci/drm/i915
parente51ac8c336246fb64d5b133a9336809fceed86ac (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.h2
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;