aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/viotape.c
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-05-29 21:29:06 -0400
committerPaul Mackerras <paulus@samba.org>2007-07-10 07:53:39 -0400
commitf716a425c15ebadf60286cd4fb60d1d6f46e3cf9 (patch)
treeef64856487e4dce670e84fa36bc3edb5a8ad510f /drivers/char/viotape.c
parentca747ddf29773d552fc0e0dcde0d92b807cd6b85 (diff)
[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 <rpjday@mindspring.com> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/char/viotape.c')
-rw-r--r--drivers/char/viotape.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/char/viotape.c b/drivers/char/viotape.c
index 13faf8d17482..db57277117bb 100644
--- a/drivers/char/viotape.c
+++ b/drivers/char/viotape.c
@@ -873,12 +873,12 @@ free_op:
873} 873}
874 874
875const struct file_operations viotap_fops = { 875const struct file_operations viotap_fops = {
876 owner: THIS_MODULE, 876 .owner = THIS_MODULE,
877 read: viotap_read, 877 .read = viotap_read,
878 write: viotap_write, 878 .write = viotap_write,
879 ioctl: viotap_ioctl, 879 .ioctl = viotap_ioctl,
880 open: viotap_open, 880 .open = viotap_open,
881 release: viotap_release, 881 .release = viotap_release,
882}; 882};
883 883
884/* Handle interrupt events for tape */ 884/* Handle interrupt events for tape */