Commit f716a425 authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Paul Mackerras

[POWERPC] VIOTAPE: Use designated initializers for fops member structures.

Replace the old-style member initializers with the newer designated
initializers.
Signed-off-by: default avatarRobert P. J. Day <rpjday@mindspring.com>
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent ca747ddf
...@@ -873,12 +873,12 @@ static int viotap_release(struct inode *inode, struct file *file) ...@@ -873,12 +873,12 @@ static int viotap_release(struct inode *inode, struct file *file)
} }
const struct file_operations viotap_fops = { const struct file_operations viotap_fops = {
owner: THIS_MODULE, .owner = THIS_MODULE,
read: viotap_read, .read = viotap_read,
write: viotap_write, .write = viotap_write,
ioctl: viotap_ioctl, .ioctl = viotap_ioctl,
open: viotap_open, .open = viotap_open,
release: viotap_release, .release = viotap_release,
}; };
/* Handle interrupt events for tape */ /* Handle interrupt events for tape */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment