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 | |
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')
-rw-r--r-- | arch/cris/arch-v32/drivers/cryptocop.c | 8 | ||||
-rw-r--r-- | arch/cris/arch-v32/drivers/i2c.c | 8 | ||||
-rw-r--r-- | arch/cris/arch-v32/drivers/pcf8563.c | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/arch/cris/arch-v32/drivers/cryptocop.c b/arch/cris/arch-v32/drivers/cryptocop.c index 1a071f17446d..e8914d401696 100644 --- a/arch/cris/arch-v32/drivers/cryptocop.c +++ b/arch/cris/arch-v32/drivers/cryptocop.c | |||
@@ -267,10 +267,10 @@ static void print_user_dma_lists(struct cryptocop_dma_list_operation *dma_op); | |||
267 | 267 | ||
268 | 268 | ||
269 | const struct file_operations cryptocop_fops = { | 269 | const struct file_operations cryptocop_fops = { |
270 | owner: THIS_MODULE, | 270 | .owner = THIS_MODULE, |
271 | open: cryptocop_open, | 271 | .open = cryptocop_open, |
272 | release: cryptocop_release, | 272 | .release = cryptocop_release, |
273 | ioctl: cryptocop_ioctl | 273 | .ioctl = cryptocop_ioctl |
274 | }; | 274 | }; |
275 | 275 | ||
276 | 276 | ||
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 |
diff --git a/arch/cris/arch-v32/drivers/pcf8563.c b/arch/cris/arch-v32/drivers/pcf8563.c index 24b919b3821a..fa8d50007e4c 100644 --- a/arch/cris/arch-v32/drivers/pcf8563.c +++ b/arch/cris/arch-v32/drivers/pcf8563.c | |||
@@ -51,10 +51,10 @@ int pcf8563_open(struct inode *, struct file *); | |||
51 | int pcf8563_release(struct inode *, struct file *); | 51 | int pcf8563_release(struct inode *, struct file *); |
52 | 52 | ||
53 | static const struct file_operations pcf8563_fops = { | 53 | static const struct file_operations pcf8563_fops = { |
54 | owner: THIS_MODULE, | 54 | .owner = THIS_MODULE, |
55 | ioctl: pcf8563_ioctl, | 55 | .ioctl = pcf8563_ioctl, |
56 | open: pcf8563_open, | 56 | .open = pcf8563_open, |
57 | release: pcf8563_release, | 57 | .release = pcf8563_release, |
58 | }; | 58 | }; |
59 | 59 | ||
60 | unsigned char | 60 | unsigned char |