diff options
| author | Warner Losh <imp@FreeBSD.org> | 2003-02-12 07:00:59 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2003-02-12 07:00:59 +0000 |
| commit | b235704d7c135fd470b29d845ca1ee6e2bbad121 (patch) | |
| tree | 1cb1d89b4eeb34b2ed0a89f9ad572ca20a5880f0 /sys/kern/subr_rman.c | |
| parent | f5bff4606924f7bfd322e93578cf5103cb362b2e (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_rman.c')
| -rw-r--r-- | sys/kern/subr_rman.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/kern/subr_rman.c b/sys/kern/subr_rman.c index 544603968336..56c0979b14ba 100644 --- a/sys/kern/subr_rman.c +++ b/sys/kern/subr_rman.c @@ -685,3 +685,9 @@ rman_get_rid(struct resource *r) { return (r->r_rid); } + +struct device * +rman_get_device(struct resource *r) +{ + return (r->r_dev); +} |
