]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] edac: use C99 initializers (sparse warnings)
authorRandy Dunlap <rdunlap@xenotime.net>
Fri, 3 Feb 2006 11:04:24 +0000 (03:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 3 Feb 2006 16:32:06 +0000 (08:32 -0800)
drivers/edac/e752x_edac.c:1042:7: warning: obsolete struct initializer, use C99 syntax

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/edac/e752x_edac.c

index 770a5a6330798c33873a2d992d29d8d7cb03c138..c454ded2b0600974ad035cece99f5422a5e411a9 100644 (file)
@@ -1039,10 +1039,10 @@ MODULE_DEVICE_TABLE(pci, e752x_pci_tbl);
 
 
 static struct pci_driver e752x_driver = {
-      name: BS_MOD_STR,
-      probe: e752x_init_one,
-      remove: __devexit_p(e752x_remove_one),
-      id_table: e752x_pci_tbl,
+       .name = BS_MOD_STR,
+       .probe = e752x_init_one,
+       .remove = __devexit_p(e752x_remove_one),
+       .id_table = e752x_pci_tbl,
 };