From: Stephen Rothwell <sfr@canb.auug.org.au>
To: paulus@samba.org
Cc: Andrew Morton <akpm@osdl.org>, ppc-dev <linuxppc-dev@ozlabs.org>,
"Robert P. J. Day" <rpjday@mindspring.com>
Subject: [PATCH] VIOTAPE: Use designated initializers for fops member structures.
Date: Wed, 30 May 2007 11:29:06 +1000 [thread overview]
Message-ID: <20070530112906.9d5b6fb3.sfr@canb.auug.org.au> (raw)
In-Reply-To: <Pine.LNX.4.64.0705281702300.16015@localhost.localdomain>
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
parent reply other threads:[~2007-05-30 1:29 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <Pine.LNX.4.64.0705281702300.16015@localhost.localdomain>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070530112906.9d5b6fb3.sfr@canb.auug.org.au \
--to=sfr@canb.auug.org.au \
--cc=akpm@osdl.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.org \
--cc=rpjday@mindspring.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox