artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8339763
)
add name member to struct resource
author
jsg
<jsg@openbsd.org>
Sun, 11 Aug 2024 03:27:29 +0000
(
03:27
+0000)
committer
jsg
<jsg@openbsd.org>
Sun, 11 Aug 2024 03:27:29 +0000
(
03:27
+0000)
needed for newer inteldrm
sys/dev/pci/drm/include/linux/ioport.h
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/include/linux/ioport.h
b/sys/dev/pci/drm/include/linux/ioport.h
index
c5ebffd
..
fe01660
100644
(file)
--- 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