mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Add a #define RESOURCE_SPEC_END. Similar to DEVMETHOD_END and
KOBJMETHOD_END, this is to serve as the end marker in an array of resource_spec structures.
This commit is contained in:
parent
8d7edd1726
commit
6b5907b353
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325060
@ -491,6 +491,7 @@ struct resource_spec {
|
||||
int rid;
|
||||
int flags;
|
||||
};
|
||||
#define RESOURCE_SPEC_END {-1, 0, 0}
|
||||
|
||||
int bus_alloc_resources(device_t dev, struct resource_spec *rs,
|
||||
struct resource **res);
|
||||
|
Loading…
Reference in New Issue
Block a user