Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2009 20:36:46 +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: r190101 - in head/sys/sparc64: pci sparc64
Message-ID:  <200903192036.n2JKaku6074931@svn.freebsd.org>

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



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