aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris
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
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')
-rw-r--r--arch/cris/arch-v32/drivers/cryptocop.c8
-rw-r--r--arch/cris/arch-v32/drivers/i2c.c8
-rw-r--r--arch/cris/arch-v32/drivers/pcf8563.c8
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
269const struct file_operations cryptocop_fops = { 269const 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
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
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 *);
51int pcf8563_release(struct inode *, struct file *); 51int pcf8563_release(struct inode *, struct file *);
52 52
53static const struct file_operations pcf8563_fops = { 53static 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
60unsigned char 60unsigned char