From: jsg Date: Sun, 11 Aug 2024 03:27:29 +0000 (+0000) Subject: add name member to struct resource X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d52f258db06866e450bd6e05bad114d42f2f99d1;p=openbsd add name member to struct resource needed for newer inteldrm --- 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