From 178c755910a0f359f3a1d4abcb0ebee09ab2c778 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Fri, 22 Apr 2016 16:28:41 +0000 Subject: [PATCH] [bhnd] use correct bus deallocation method Submitted by: Mizhka Zhilin Differential Revision: https://reviews.freebsd.org/D5647 --- sys/dev/bhnd/bhndb/bhndb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/bhnd/bhndb/bhndb.c b/sys/dev/bhnd/bhndb/bhndb.c index 8950e2b7f314..f63538431a5d 100644 --- a/sys/dev/bhnd/bhndb/bhndb.c +++ b/sys/dev/bhnd/bhndb/bhndb.c @@ -1928,7 +1928,7 @@ static device_method_t bhndb_methods[] = { DEVMETHOD(bhnd_bus_is_hostb_device, bhndb_is_hostb_device), DEVMETHOD(bhnd_bus_get_chipid, bhndb_get_chipid), DEVMETHOD(bhnd_bus_activate_resource, bhndb_activate_bhnd_resource), - DEVMETHOD(bhnd_bus_activate_resource, bhndb_deactivate_bhnd_resource), + DEVMETHOD(bhnd_bus_deactivate_resource, bhndb_deactivate_bhnd_resource), DEVMETHOD(bhnd_bus_read_1, bhndb_bus_read_1), DEVMETHOD(bhnd_bus_read_2, bhndb_bus_read_2), DEVMETHOD(bhnd_bus_read_4, bhndb_bus_read_4),