git: e89d0785ff13 - main - simplebus: Implement bus_delete_resource

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

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

commit e89d0785ff1332d234ae4382a849f3c23e23573a
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2024-02-16 00:05:00 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-02-16 00:05:00 +0000

    simplebus: Implement bus_delete_resource
---
 sys/dev/fdt/simplebus.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/fdt/simplebus.c b/sys/dev/fdt/simplebus.c
index 71ba8a0a1f7a..ceb5fdde4bb7 100644
--- a/sys/dev/fdt/simplebus.c
+++ b/sys/dev/fdt/simplebus.c
@@ -104,6 +104,7 @@ static device_method_t	simplebus_methods[] = {
 	DEVMETHOD(bus_unmap_resource,	simplebus_unmap_resource),
 	DEVMETHOD(bus_set_resource,	bus_generic_rl_set_resource),
 	DEVMETHOD(bus_get_resource,	bus_generic_rl_get_resource),
+	DEVMETHOD(bus_delete_resource,	bus_generic_rl_delete_resource),
 	DEVMETHOD(bus_child_pnpinfo,	ofw_bus_gen_child_pnpinfo),
 	DEVMETHOD(bus_get_resource_list, simplebus_get_resource_list),
 	DEVMETHOD(bus_get_property,	simplebus_get_property),