diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-02-03 03:04:24 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-03 08:32:06 -0800 |
commit | 0d38b049fe8df77c8e9dc48d0fd84555739fbb1a (patch) | |
tree | 8a4a72ab172202f29ba0c2020cb44d7f893cdf43 | |
parent | fe85a998ca64a067e58ca9240ec54a95994d78ee (diff) | |
download | op-kernel-dev-0d38b049fe8df77c8e9dc48d0fd84555739fbb1a.zip op-kernel-dev-0d38b049fe8df77c8e9dc48d0fd84555739fbb1a.tar.gz |
[PATCH] edac: use C99 initializers (sparse warnings)
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>
-rw-r--r-- | drivers/edac/e752x_edac.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/edac/e752x_edac.c b/drivers/edac/e752x_edac.c index 770a5a6..c454ded 100644 --- a/drivers/edac/e752x_edac.c +++ b/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, }; |