svn commit: r298481 - head/sys/dev/bhnd/bhndb

Adrian Chadd adrian at FreeBSD.org
Fri Apr 22 16:28:42 UTC 2016


Author: adrian
Date: Fri Apr 22 16:28:41 2016
New Revision: 298481
URL: https://svnweb.freebsd.org/changeset/base/298481

Log:
  [bhnd] use correct bus deallocation method
  
  Submitted by:	Mizhka Zhilin <mizhka at gmail.com>
  Differential Revision:	https://reviews.freebsd.org/D5647

Modified:
  head/sys/dev/bhnd/bhndb/bhndb.c

Modified: head/sys/dev/bhnd/bhndb/bhndb.c
==============================================================================
--- head/sys/dev/bhnd/bhndb/bhndb.c	Fri Apr 22 16:27:35 2016	(r298480)
+++ head/sys/dev/bhnd/bhndb/bhndb.c	Fri Apr 22 16:28:41 2016	(r298481)
@@ -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),


More information about the svn-src-all mailing list