From owner-svn-src-all@FreeBSD.ORG Tue Nov 22 21:49:29 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E3E31065670; Tue, 22 Nov 2011 21:49:29 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5EB1F8FC18; Tue, 22 Nov 2011 21:49:29 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id pAMLnTw5011303; Tue, 22 Nov 2011 21:49:29 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pAMLnTDw011301; Tue, 22 Nov 2011 21:49:29 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <201111222149.pAMLnTDw011301@svn.freebsd.org> From: Marius Strobl Date: Tue, 22 Nov 2011 21:49:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r227844 - head/share/examples/drivers X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Nov 2011 21:49:29 -0000 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 = {