Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Nov 2011 21:49:29 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r227844 - head/share/examples/drivers
Message-ID:  <201111222149.pAMLnTDw011301@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 = {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111222149.pAMLnTDw011301>