svn commit: r299015 - head/sys/dev/ioat

Garrett Cooper ngie at FreeBSD.org
Tue May 3 23:56:53 UTC 2016


Author: ngie
Date: Tue May  3 23:56:52 2016
New Revision: 299015
URL: https://svnweb.freebsd.org/changeset/base/299015

Log:
  Use DEVMETHOD_END ({ NULL, NULL }) instead of hardcoding { 0, 0 }
  
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/sys/dev/ioat/ioat.c

Modified: head/sys/dev/ioat/ioat.c
==============================================================================
--- head/sys/dev/ioat/ioat.c	Tue May  3 23:46:01 2016	(r299014)
+++ head/sys/dev/ioat/ioat.c	Tue May  3 23:56:52 2016	(r299015)
@@ -135,7 +135,7 @@ static device_method_t ioat_pci_methods[
 	DEVMETHOD(device_probe,     ioat_probe),
 	DEVMETHOD(device_attach,    ioat_attach),
 	DEVMETHOD(device_detach,    ioat_detach),
-	{ 0, 0 }
+	DEVMETHOD_END
 };
 
 static driver_t ioat_pci_driver = {


More information about the svn-src-all mailing list