Date: Wed, 30 Nov 2011 18:52:30 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r228162 - head/sys/xen/evtchn Message-ID: <201111301852.pAUIqUwT009893@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Wed Nov 30 18:52:30 2011 New Revision: 228162 URL: http://svn.freebsd.org/changeset/base/228162 Log: Use C99 initializers for members of evtchn_devsw. Submitted by: arundel Modified: head/sys/xen/evtchn/evtchn_dev.c Modified: head/sys/xen/evtchn/evtchn_dev.c ============================================================================== --- head/sys/xen/evtchn/evtchn_dev.c Wed Nov 30 18:33:23 2011 (r228161) +++ head/sys/xen/evtchn/evtchn_dev.c Wed Nov 30 18:52:30 2011 (r228162) @@ -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", };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111301852.pAUIqUwT009893>