Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2016 23:56:52 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r299015 - head/sys/dev/ioat
Message-ID:  <201605032356.u43NuqHZ038376@repo.freebsd.org>

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



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