Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Dec 2012 19:14:21 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r244715 - head/sys/netgraph/bluetooth/drivers/ubt
Message-ID:  <201212261914.qBQJELS1024725@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco (ports committer)
Date: Wed Dec 26 19:14:21 2012
New Revision: 244715
URL: http://svnweb.freebsd.org/changeset/base/244715

Log:
  Use DEVMETHOD_END, as suggested by hselasky@.
  
  Approved by:	glebius

Modified:
  head/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c

Modified: head/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
==============================================================================
--- head/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c	Wed Dec 26 19:12:31 2012	(r244714)
+++ head/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c	Wed Dec 26 19:14:21 2012	(r244715)
@@ -1766,7 +1766,7 @@ static device_method_t	ubt_methods[] =
 	DEVMETHOD(device_probe,	ubt_probe),
 	DEVMETHOD(device_attach, ubt_attach),
 	DEVMETHOD(device_detach, ubt_detach),
-	{ 0, 0 }
+	DEVMETHOD_END
 };
 
 static driver_t		ubt_driver =



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