Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Mar 2009 21:16:10 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r190287 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb sparc64/pci sparc64/sparc64
Message-ID:  <200903222116.n2MLGADC084018@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Sun Mar 22 21:16:10 2009
New Revision: 190287
URL: http://svn.freebsd.org/changeset/base/190287

Log:
  MFC: r190101
  
  Take advantage of KOBJMETHOD_END.

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)
  stable/7/sys/dev/ath/ath_hal/   (props changed)
  stable/7/sys/dev/cxgb/   (props changed)
  stable/7/sys/sparc64/pci/ofw_pcibus.c
  stable/7/sys/sparc64/sparc64/eeprom.c
  stable/7/sys/sparc64/sparc64/rtc.c
  stable/7/sys/sparc64/sparc64/sc_machdep.c

Modified: stable/7/sys/sparc64/pci/ofw_pcibus.c
==============================================================================
--- stable/7/sys/sparc64/pci/ofw_pcibus.c	Sun Mar 22 21:14:33 2009	(r190286)
+++ stable/7/sys/sparc64/pci/ofw_pcibus.c	Sun Mar 22 21:16:10 2009	(r190287)
@@ -88,7 +88,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: stable/7/sys/sparc64/sparc64/eeprom.c
==============================================================================
--- stable/7/sys/sparc64/sparc64/eeprom.c	Sun Mar 22 21:14:33 2009	(r190286)
+++ stable/7/sys/sparc64/sparc64/eeprom.c	Sun Mar 22 21:16:10 2009	(r190287)
@@ -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: stable/7/sys/sparc64/sparc64/rtc.c
==============================================================================
--- stable/7/sys/sparc64/sparc64/rtc.c	Sun Mar 22 21:14:33 2009	(r190286)
+++ stable/7/sys/sparc64/sparc64/rtc.c	Sun Mar 22 21:16:10 2009	(r190287)
@@ -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: stable/7/sys/sparc64/sparc64/sc_machdep.c
==============================================================================
--- stable/7/sys/sparc64/sparc64/sc_machdep.c	Sun Mar 22 21:14:33 2009	(r190286)
+++ stable/7/sys/sparc64/sparc64/sc_machdep.c	Sun Mar 22 21:16:10 2009	(r190287)
@@ -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?200903222116.n2MLGADC084018>