From d52f258db06866e450bd6e05bad114d42f2f99d1 Mon Sep 17 00:00:00 2001 From: jsg Date: Sun, 11 Aug 2024 03:27:29 +0000 Subject: [PATCH] add name member to struct resource needed for newer inteldrm --- sys/dev/pci/drm/include/linux/ioport.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/pci/drm/include/linux/ioport.h b/sys/dev/pci/drm/include/linux/ioport.h index c5ebffd8351..fe01660c60b 100644 --- a/sys/dev/pci/drm/include/linux/ioport.h +++ b/sys/dev/pci/drm/include/linux/ioport.h @@ -10,6 +10,7 @@ struct resource { u_long start; u_long end; + const char *name; }; static inline resource_size_t @@ -22,6 +23,7 @@ resource_size(const struct resource *r) (struct resource) { \ .start = (_start), \ .end = (_start) + (_size) - 1, \ + .name = NULL, \ } #endif -- 2.20.1