git: 8247b328ef0e - stable/14 - riscv nexus: Sort bus_set_resource in DEVMETHOD table
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 Jan 2024 22:02:51 UTC
The branch stable/14 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=8247b328ef0e2eea93815c4e33b2463dc5be66e0
commit 8247b328ef0e2eea93815c4e33b2463dc5be66e0
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2019-09-11 07:39:37 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-01-03 20:48:50 +0000
riscv nexus: Sort bus_set_resource in DEVMETHOD table
(cherry picked from commit 7bf9223ca958aed45a998890f351afaae67550fe)
---
sys/riscv/riscv/nexus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/riscv/riscv/nexus.c b/sys/riscv/riscv/nexus.c
index f710e6826c21..06dc6412b885 100644
--- a/sys/riscv/riscv/nexus.c
+++ b/sys/riscv/riscv/nexus.c
@@ -117,8 +117,8 @@ static device_method_t nexus_methods[] = {
DEVMETHOD(bus_get_resource_list, nexus_get_reslist),
DEVMETHOD(bus_get_rman, nexus_get_rman),
DEVMETHOD(bus_map_resource, nexus_map_resource),
- DEVMETHOD(bus_set_resource, bus_generic_rl_set_resource),
DEVMETHOD(bus_release_resource, bus_generic_rman_release_resource),
+ DEVMETHOD(bus_set_resource, bus_generic_rl_set_resource),
DEVMETHOD(bus_unmap_resource, nexus_unmap_resource),
DEVMETHOD(bus_config_intr, nexus_config_intr),
DEVMETHOD(bus_describe_intr, nexus_describe_intr),