diff options
author | Jessica Clarke <jrtc27@FreeBSD.org> | 2024-07-17 12:59:13 +0000 |
---|---|---|
committer | Jessica Clarke <jrtc27@FreeBSD.org> | 2024-07-17 12:59:13 +0000 |
commit | c24e5fcca9c2f2cacaf3d7883f0ecb4d5a4747cc (patch) | |
tree | 8b625f62659b78ab46c6724180a6ba8ef4474099 | |
parent | ac0c8c1186f7a45f106b16ef57e303476ce6741a (diff) |
mvs: Fix to use rman_get_rid rather than non-existent rid argument
This got missed as it's not built in a normal tinderbox build.
This fixes building arm.armv7 ARMADAXP (marked NO_UNIVERSE).
Fixes: 9dbf5b0e6876 ("new-bus: Remove the 'rid' and 'type' arguments from BUS_RELEASE_RESOURCE")
-rw-r--r-- | sys/dev/mvs/mvs_soc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mvs/mvs_soc.c b/sys/dev/mvs/mvs_soc.c index 00a868140a0e..b48321b04955 100644 --- a/sys/dev/mvs/mvs_soc.c +++ b/sys/dev/mvs/mvs_soc.c @@ -372,7 +372,7 @@ mvs_release_resource(device_t dev, device_t child, struct resource *r) rman_release_resource(r); return (0); case SYS_RES_IRQ: - if (rid != ATA_IRQ_RID) + if (rman_get_rid(r) != ATA_IRQ_RID) return ENOENT; return (0); } |