diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-08-11 03:27:30 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-08-11 03:27:30 +0000 |
commit | e038b38452be3dcb3c65e1c62043b2a9354198a2 (patch) | |
tree | 8395ce2be9c7f6cc72a96ab9e383155ea0304f26 /sys/dev | |
parent | e92e8b9a720b39571503232b03781885c54ee721 (diff) |
add name member to struct resource
needed for newer inteldrm
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/drm/include/linux/ioport.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |