summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-05-30 11:29:06 +1000
committerPaul Mackerras <paulus@samba.org>2007-07-10 21:53:39 +1000
commitf716a425c15ebadf60286cd4fb60d1d6f46e3cf9 (patch)
treeef64856487e4dce670e84fa36bc3edb5a8ad510f /drivers/char
parentca747ddf29773d552fc0e0dcde0d92b807cd6b85 (diff)
[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')
-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 13faf8d1748..db57277117b 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 */