]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] VIOTAPE: Use designated initializers for fops member structures.
authorRobert P. J. Day <rpjday@mindspring.com>
Wed, 30 May 2007 01:29:06 +0000 (11:29 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 10 Jul 2007 11:53:39 +0000 (21:53 +1000)
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>
drivers/char/viotape.c

index 13faf8d17482a58fdd3dcee95e33769f4bbb6b59..db57277117bb4015b94e280adfab125a5e8870d4 100644 (file)
@@ -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 */