git: 04eca6932311 - main - gpiobus: Add missing DEVMETHOD for bus_get_rman

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 23 Feb 2024 00:16:40 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=04eca69323111986b262eef3135d804361b60d17

commit 04eca69323111986b262eef3135d804361b60d17
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2024-02-23 00:14:58 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-02-23 00:14:58 +0000

    gpiobus: Add missing DEVMETHOD for bus_get_rman
    
    Reported by:    andrew
    Fixes:          5bda26333a8e gpiobus: Use bus_generic_rman_*
---
 sys/dev/gpio/gpiobus.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/gpio/gpiobus.c b/sys/dev/gpio/gpiobus.c
index 6d739597b759..c8fee7d400c1 100644
--- a/sys/dev/gpio/gpiobus.c
+++ b/sys/dev/gpio/gpiobus.c
@@ -1045,6 +1045,7 @@ static device_method_t gpiobus_methods[] = {
 	DEVMETHOD(bus_activate_resource,	bus_generic_rman_activate_resource),
 	DEVMETHOD(bus_deactivate_resource,	bus_generic_rman_deactivate_resource),
 	DEVMETHOD(bus_get_resource_list,	gpiobus_get_resource_list),
+	DEVMETHOD(bus_get_rman,		gpiobus_get_rman),
 	DEVMETHOD(bus_add_child,	gpiobus_add_child),
 	DEVMETHOD(bus_rescan,		gpiobus_rescan),
 	DEVMETHOD(bus_probe_nomatch,	gpiobus_probe_nomatch),