rman_set_device() seems to have been omitted by mistake. Implement it.
This commit is contained in:
parent
1a3f777ef4
commit
f351862a17
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144932
@ -714,6 +714,12 @@ rman_get_device(struct resource *r)
|
||||
return (r->r_dev);
|
||||
}
|
||||
|
||||
void
|
||||
rman_set_device(struct resource *r, struct device *dev)
|
||||
{
|
||||
r->r_dev = dev;
|
||||
}
|
||||
|
||||
/*
|
||||
* Sysctl interface for scanning the resource lists.
|
||||
*
|
||||
|
@ -152,6 +152,7 @@ struct resource *rman_reserve_resource_bound(struct rman *rm, u_long start,
|
||||
u_int flags, struct device *dev);
|
||||
void rman_set_bushandle(struct resource *_r, bus_space_handle_t _h);
|
||||
void rman_set_bustag(struct resource *_r, bus_space_tag_t _t);
|
||||
void rman_set_device(struct resource *_r, struct device *_dev);
|
||||
void rman_set_end(struct resource *_r, u_long _end);
|
||||
void rman_set_rid(struct resource *_r, int _rid);
|
||||
void rman_set_start(struct resource *_r, u_long _start);
|
||||
|
Loading…
Reference in New Issue
Block a user