git: 7bf9223ca958 - main - riscv nexus: Sort bus_set_resource in DEVMETHOD table
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Nov 2023 17:28:59 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=7bf9223ca958aed45a998890f351afaae67550fe
commit 7bf9223ca958aed45a998890f351afaae67550fe
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2019-09-11 07:39:37 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-11-24 17:28:40 +0000
riscv nexus: Sort bus_set_resource in DEVMETHOD table
---
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),