Skip to content

Commit

Permalink
[POWERPC] VIOTAPE: Use designated initializers for fops member struct…
Browse files Browse the repository at this point in the history
…ures.

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>
  • Loading branch information
Robert P. J. Day authored and Paul Mackerras committed Jul 10, 2007
1 parent ca747dd commit f716a42
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions drivers/char/viotape.c
Original file line number Diff line number Diff line change
Expand Up @@ -873,12 +873,12 @@ static int viotap_release(struct inode *inode, struct file *file)
}

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 */
Expand Down

0 comments on commit f716a42

Please sign in to comment.