diff options
author | Robert P. J. Day <rpjday@mindspring.com> | 2007-07-16 02:38:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 12:05:38 -0400 |
commit | 7ff9057db7edeb210fd5c00314c52154922d8868 (patch) | |
tree | dd32186cf0b821907c19229cbdb7db57f5266e64 /arch/cris/arch-v32/drivers/i2c.c | |
parent | e30afd5119f5a3684e4e5e66bbaeb9c8d2c814be (diff) |
CRIS: replace old-style member inits with designated inits
Replace the old-style structure member initializers with designated
initializers.
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Cc: Mikael Starvik <starvik@axis.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/cris/arch-v32/drivers/i2c.c')
-rw-r--r-- | arch/cris/arch-v32/drivers/i2c.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/cris/arch-v32/drivers/i2c.c b/arch/cris/arch-v32/drivers/i2c.c index 5d6c52737df3..e12f6cc6f4a2 100644 --- a/arch/cris/arch-v32/drivers/i2c.c +++ b/arch/cris/arch-v32/drivers/i2c.c | |||
@@ -574,10 +574,10 @@ i2c_ioctl(struct inode *inode, struct file *file, | |||
574 | } | 574 | } |
575 | 575 | ||
576 | static const struct file_operations i2c_fops = { | 576 | static const struct file_operations i2c_fops = { |
577 | owner: THIS_MODULE, | 577 | .owner = THIS_MODULE, |
578 | ioctl: i2c_ioctl, | 578 | .ioctl = i2c_ioctl, |
579 | open: i2c_open, | 579 | .open = i2c_open, |
580 | release: i2c_release, | 580 | .release = i2c_release, |
581 | }; | 581 | }; |
582 | 582 | ||
583 | int __init | 583 | int __init |