Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2009 20:38:45 +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: r190103 - head/sys/sparc64/sparc64
Message-ID:  <200903192038.n2JKcjkT075047@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Thu Mar 19 20:38:45 2009
New Revision: 190103
URL: http://svn.freebsd.org/changeset/base/190103

Log:
  Take advantage of KOBJMETHOD_END.

Modified:
  head/sys/sparc64/sparc64/jbusppm.c
  head/sys/sparc64/sparc64/schppm.c

Modified: head/sys/sparc64/sparc64/jbusppm.c
==============================================================================
--- head/sys/sparc64/sparc64/jbusppm.c	Thu Mar 19 20:38:01 2009	(r190102)
+++ head/sys/sparc64/sparc64/jbusppm.c	Thu Mar 19 20:38:45 2009	(r190103)
@@ -78,7 +78,7 @@ static device_method_t jbusppm_methods[]
 	DEVMETHOD(device_probe,		jbusppm_probe),
 	DEVMETHOD(device_attach,	jbusppm_attach),
 
-	{ NULL, NULL }
+	KOBJMETHOD_END
 };
 
 static devclass_t jbusppm_devclass;

Modified: head/sys/sparc64/sparc64/schppm.c
==============================================================================
--- head/sys/sparc64/sparc64/schppm.c	Thu Mar 19 20:38:01 2009	(r190102)
+++ head/sys/sparc64/sparc64/schppm.c	Thu Mar 19 20:38:45 2009	(r190103)
@@ -73,7 +73,7 @@ static device_method_t schppm_methods[] 
 	DEVMETHOD(device_probe,		schppm_probe),
 	DEVMETHOD(device_attach,	schppm_attach),
 
-	{ NULL, NULL }
+	KOBJMETHOD_END
 };
 
 static devclass_t schppm_devclass;



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