aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2019-09-11 07:39:37 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2023-11-24 17:28:40 +0000
commit7bf9223ca958aed45a998890f351afaae67550fe (patch)
tree48ccbd2d65c41340fc81329779ae785d0f706ed5
parentf8709c826be977471df5663833f291f43d93d54c (diff)
downloadsrc-7bf9223ca958aed45a998890f351afaae67550fe.tar.gz
src-7bf9223ca958aed45a998890f351afaae67550fe.zip
riscv nexus: Sort bus_set_resource in DEVMETHOD table
-rw-r--r--sys/riscv/riscv/nexus.c2
1 files changed, 1 insertions, 1 deletions
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),