summaryrefslogtreecommitdiffstats
path: root/drivers/char/viotape.c
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-05-30 03:29:06 +0200
committerPaul Mackerras <paulus@samba.org>2007-07-10 13:53:39 +0200
commitf716a425c15ebadf60286cd4fb60d1d6f46e3cf9 (patch)
treeef64856487e4dce670e84fa36bc3edb5a8ad510f /drivers/char/viotape.c
parent[POWERPC] Remove unused do_signal export (diff)
downloadlinux-f716a425c15ebadf60286cd4fb60d1d6f46e3cf9.tar.xz
linux-f716a425c15ebadf60286cd4fb60d1d6f46e3cf9.zip
[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>
Diffstat (limited to 'drivers/char/viotape.c')
-rw-r--r--drivers/char/viotape.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/char/viotape.c b/drivers/char/viotape.c
index 13faf8d17482..db57277117bb 100644
--- a/drivers/char/viotape.c
+++ b/drivers/char/viotape.c
@@ -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 */