svn commit: r227844 - head/share/examples/drivers

Marius Strobl marius at FreeBSD.org
Tue Nov 22 21:49:29 UTC 2011


Author: marius
Date: Tue Nov 22 21:49:29 2011
New Revision: 227844
URL: http://svn.freebsd.org/changeset/base/227844

Log:
  Update to use DEVMETHOD_END.

Modified:
  head/share/examples/drivers/make_device_driver.sh

Modified: head/share/examples/drivers/make_device_driver.sh
==============================================================================
--- head/share/examples/drivers/make_device_driver.sh	Tue Nov 22 21:28:20 2011	(r227843)
+++ head/share/examples/drivers/make_device_driver.sh	Tue Nov 22 21:49:29 2011	(r227844)
@@ -261,7 +261,7 @@ static device_method_t ${1}_methods[] = 
 	DEVMETHOD(device_probe,		${1}_isa_probe),
 	DEVMETHOD(device_attach,	${1}_isa_attach),
 	DEVMETHOD(device_detach,	${1}_isa_detach),
-	{ 0, 0 }
+	DEVMETHOD_END
 };
 
 static driver_t ${1}_isa_driver = {


More information about the svn-src-all mailing list