linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] edac: use C99 initializers (sparse warnings)
@ 2006-01-22 20:07 Randy.Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2006-01-22 20:07 UTC (permalink / raw)
  To: dthompson, akpm; +Cc: lkml

From: Randy Dunlap <rdunlap@xenotime.net>

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

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
 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,
 };
 
 


---

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-22 20:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-22 20:07 [PATCH] edac: use C99 initializers (sparse warnings) Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).