提交 f716a425 编写于 作者: R Robert P. J. Day 提交者: 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: NRobert P. J. Day <rpjday@mindspring.com>
Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册