From: Robert P. J. Day Date: Wed, 30 May 2007 01:29:06 +0000 (+1000) Subject: [POWERPC] VIOTAPE: Use designated initializers for fops member structures. X-Git-Tag: v2.6.23-rc1~767^2^2~32 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f716a425c15ebadf60286cd4fb60d1d6f46e3cf9;p=linux-2.6 [POWERPC] VIOTAPE: Use designated initializers for fops member structures. Replace the old-style member initializers with the newer designated initializers. Signed-off-by: Robert P. J. Day Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras --- diff --git a/drivers/char/viotape.c b/drivers/char/viotape.c index 13faf8d174..db57277117 100644 --- a/drivers/char/viotape.c +++ b/drivers/char/viotape.c @@ -873,12 +873,12 @@ free_op: } const struct file_operations viotap_fops = { - owner: THIS_MODULE, - read: viotap_read, - write: viotap_write, - ioctl: viotap_ioctl, - open: viotap_open, - release: viotap_release, + .owner = THIS_MODULE, + .read = viotap_read, + .write = viotap_write, + .ioctl = viotap_ioctl, + .open = viotap_open, + .release = viotap_release, }; /* Handle interrupt events for tape */