[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>
This commit is contained in:
parent
ca747ddf29
commit
f716a425c1
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue