svn commit: r266321 - stable/9/sys/xen/evtchn

Colin Percival cperciva at FreeBSD.org
Sat May 17 16:00:25 UTC 2014


Author: cperciva
Date: Sat May 17 16:00:25 2014
New Revision: 266321
URL: http://svnweb.freebsd.org/changeset/base/266321

Log:
  MFC r228162:
    Use C99 initializers for members of evtchn_devsw.
  
  Submitted by:	wolfskill

Modified:
  stable/9/sys/xen/evtchn/evtchn_dev.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/xen/evtchn/evtchn_dev.c
==============================================================================
--- stable/9/sys/xen/evtchn/evtchn_dev.c	Sat May 17 15:26:08 2014	(r266320)
+++ stable/9/sys/xen/evtchn/evtchn_dev.c	Sat May 17 16:00:25 2014	(r266321)
@@ -318,15 +318,14 @@ evtchn_close(struct cdev *dev, int flag,
 }
 
 static struct cdevsw evtchn_devsw = {
-	d_version:   D_VERSION,
-	d_open:      evtchn_open,
-	d_close:     evtchn_close,
-	d_read:      evtchn_read,
-	d_write:     evtchn_write,
-	d_ioctl:     evtchn_ioctl,
-	d_poll:      evtchn_poll,
-	d_name:      "evtchn",
-	d_flags:     0,
+	.d_version =	D_VERSION,
+	.d_open =	evtchn_open,
+	.d_close =	evtchn_close,
+	.d_read =	evtchn_read,
+	.d_write =	evtchn_write,
+	.d_ioctl =	evtchn_ioctl,
+	.d_poll =	evtchn_poll,
+	.d_name =	"evtchn",
 };
 
 


More information about the svn-src-stable-9 mailing list