* [PATCH] VIOTAPE: Use designated initializers for fops member structures.
[not found] <Pine.LNX.4.64.0705281702300.16015@localhost.localdomain>
@ 2007-05-30 1:29 ` Stephen Rothwell
0 siblings, 0 replies; only message in thread
From: Stephen Rothwell @ 2007-05-30 1:29 UTC (permalink / raw)
To: paulus; +Cc: Andrew Morton, ppc-dev, Robert P. J. Day
From: Robert P. J. Day <rpjday@mindspring.com>
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>
---
drivers/char/viotape.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
Paul, one for 2.6.23.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
diff --git a/drivers/char/viotape.c b/drivers/char/viotape.c
index 13faf8d..db57277 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 */
--
1.5.1.4
^ permalink raw reply related [flat|nested] only message in thread