[PATCH] edac: use C99 initializers (sparse warnings)

From: Randy.Dunlap
Date: Sun Jan 22 2006 - 15:06:45 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

fix sparse warnings:
drivers/edac/e752x_edac.c:1042:7: warning: obsolete struct initializer, use C99 syntax

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
---
drivers/edac/e752x_edac.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)

--- linux-2616-rc1g4.orig/drivers/edac/e752x_edac.c
+++ linux-2616-rc1g4/drivers/edac/e752x_edac.c
@@ -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,
};




---
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/