linuxkpi: Add field flags to struct resource

This in the Linux version of `struct resource`, not the FreeBSD native
structure.

The amdgpu DRM driver started to use it in Linux 6.11.

Reviewed by:	bz
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55737
This commit is contained in:
Jean-Sébastien Pédron
2026-03-08 10:44:12 +01:00
parent 356d6f47d3
commit ddf89d899b
@@ -41,6 +41,7 @@ struct resource {
resource_size_t start;
resource_size_t end;
const char *name;
unsigned long flags;
};
static inline resource_size_t