aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/arch-v32/drivers/i2c.c
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-07-16 02:38:46 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 12:05:38 -0400
commit7ff9057db7edeb210fd5c00314c52154922d8868 (patch)
treedd32186cf0b821907c19229cbdb7db57f5266e64 /arch/cris/arch-v32/drivers/i2c.c
parente30afd5119f5a3684e4e5e66bbaeb9c8d2c814be (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.c8
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
576static const struct file_operations i2c_fops = { 576static 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
583int __init 583int __init