From owner-svn-src-head@FreeBSD.ORG Thu Mar 19 20:36:46 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 988B41065674; Thu, 19 Mar 2009 20:36:46 +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 6A42E8FC0A; Thu, 19 Mar 2009 20:36:46 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n2JKak5c074935; Thu, 19 Mar 2009 20:36:46 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n2JKaku6074931; Thu, 19 Mar 2009 20:36:46 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <200903192036.n2JKaku6074931@svn.freebsd.org> From: Marius Strobl Date: Thu, 19 Mar 2009 20:36:46 +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: r190101 - in head/sys/sparc64: pci sparc64 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 20:36:49 -0000 Author: marius Date: Thu Mar 19 20:36:46 2009 New Revision: 190101 URL: http://svn.freebsd.org/changeset/base/190101 Log: Take advantage of KOBJMETHOD_END. Modified: head/sys/sparc64/pci/ofw_pcibus.c head/sys/sparc64/sparc64/eeprom.c head/sys/sparc64/sparc64/rtc.c head/sys/sparc64/sparc64/sc_machdep.c Modified: head/sys/sparc64/pci/ofw_pcibus.c ============================================================================== --- head/sys/sparc64/pci/ofw_pcibus.c Thu Mar 19 20:33:26 2009 (r190100) +++ head/sys/sparc64/pci/ofw_pcibus.c Thu Mar 19 20:36:46 2009 (r190101) @@ -90,7 +90,7 @@ static device_method_t ofw_pcibus_method DEVMETHOD(ofw_bus_get_node, ofw_bus_gen_get_node), DEVMETHOD(ofw_bus_get_type, ofw_bus_gen_get_type), - { 0, 0 } + KOBJMETHOD_END }; struct ofw_pcibus_devinfo { Modified: head/sys/sparc64/sparc64/eeprom.c ============================================================================== --- head/sys/sparc64/sparc64/eeprom.c Thu Mar 19 20:33:26 2009 (r190100) +++ head/sys/sparc64/sparc64/eeprom.c Thu Mar 19 20:36:46 2009 (r190101) @@ -91,7 +91,7 @@ static device_method_t eeprom_methods[] DEVMETHOD(clock_gettime, mk48txx_gettime), DEVMETHOD(clock_settime, mk48txx_settime), - { 0, 0 } + KOBJMETHOD_END }; static driver_t eeprom_driver = { Modified: head/sys/sparc64/sparc64/rtc.c ============================================================================== --- head/sys/sparc64/sparc64/rtc.c Thu Mar 19 20:33:26 2009 (r190100) +++ head/sys/sparc64/sparc64/rtc.c Thu Mar 19 20:36:46 2009 (r190101) @@ -89,7 +89,7 @@ static device_method_t rtc_ebus_methods[ DEVMETHOD(clock_gettime, mc146818_gettime), DEVMETHOD(clock_settime, mc146818_settime), - { 0, 0 } + KOBJMETHOD_END }; static driver_t rtc_ebus_driver = { Modified: head/sys/sparc64/sparc64/sc_machdep.c ============================================================================== --- head/sys/sparc64/sparc64/sc_machdep.c Thu Mar 19 20:33:26 2009 (r190100) +++ head/sys/sparc64/sparc64/sc_machdep.c Thu Mar 19 20:36:46 2009 (r190101) @@ -57,7 +57,7 @@ static device_method_t sc_methods[] = { DEVMETHOD(device_probe, sc_probe), DEVMETHOD(device_attach, sc_attach), - { 0, 0 } + KOBJMETHOD_END }; static driver_t sc_driver = {