]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
CRIS: replace old-style member inits with designated inits
authorRobert P. J. Day <rpjday@mindspring.com>
Mon, 16 Jul 2007 06:38:46 +0000 (23:38 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:38 +0000 (09:05 -0700)
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>
arch/cris/arch-v32/drivers/cryptocop.c
arch/cris/arch-v32/drivers/i2c.c
arch/cris/arch-v32/drivers/pcf8563.c

index 1a071f17446dea7aac9dd40c146c900ed271ad6f..e8914d4016966385e6c380c0471d371c05006c69 100644 (file)
@@ -267,10 +267,10 @@ static void print_user_dma_lists(struct cryptocop_dma_list_operation *dma_op);
 
 
 const struct file_operations cryptocop_fops = {
-       owner: THIS_MODULE,
-       open: cryptocop_open,
-       release: cryptocop_release,
-       ioctl: cryptocop_ioctl
+       .owner =        THIS_MODULE,
+       .open =         cryptocop_open,
+       .release =      cryptocop_release,
+       .ioctl =        cryptocop_ioctl
 };
 
 
index 5d6c52737df3683246ee69152b8256a2c33bd851..e12f6cc6f4a2f24e12306011924f2f53db088e2a 100644 (file)
@@ -574,10 +574,10 @@ i2c_ioctl(struct inode *inode, struct file *file,
 }
 
 static const struct file_operations i2c_fops = {
-       owner:    THIS_MODULE,
-       ioctl:    i2c_ioctl,
-       open:     i2c_open,
-       release:  i2c_release,
+       .owner =    THIS_MODULE,
+       .ioctl =    i2c_ioctl,
+       .open =     i2c_open,
+       .release =  i2c_release,
 };
 
 int __init
index 24b919b3821aff88ca23be6c4bfa97d5021b4150..fa8d50007e4c31af2b82f7d987e439bcbb5af7d7 100644 (file)
@@ -51,10 +51,10 @@ int pcf8563_open(struct inode *, struct file *);
 int pcf8563_release(struct inode *, struct file *);
 
 static const struct file_operations pcf8563_fops = {
-       owner: THIS_MODULE,
-       ioctl: pcf8563_ioctl,
-       open: pcf8563_open,
-       release: pcf8563_release,
+       .owner =        THIS_MODULE,
+       .ioctl =        pcf8563_ioctl,
+       .open =         pcf8563_open,
+       .release =      pcf8563_release,
 };
 
 unsigned char