linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] C99 initializers for drivers/net/amd8111e.c
@ 2003-04-22 15:57 Art Haas
  0 siblings, 0 replies; only message in thread
From: Art Haas @ 2003-04-22 15:57 UTC (permalink / raw)
  To: linux-kernel, linux-net

Hi.

This trivial patch converts the file to use C99 initializers. The patch
is against the current BK.

Art Haas

===== drivers/net/amd8111e.c 1.3 vs edited =====
--- 1.3/drivers/net/amd8111e.c	Mon Apr 21 00:41:09 2003
+++ edited/drivers/net/amd8111e.c	Tue Apr 22 10:04:23 2003
@@ -1632,12 +1632,12 @@
 }
 
 static struct pci_driver amd8111e_driver = {
-	name:		MODULE_NAME,
-	id_table:	amd8111e_pci_tbl,
-	probe:		amd8111e_probe_one,
-	remove:		__devexit_p(amd8111e_remove_one),
-	suspend:	amd8111e_suspend,
-	resume:		amd8111e_resume
+	.name		= MODULE_NAME,
+	.id_table	= amd8111e_pci_tbl,
+	.probe		= amd8111e_probe_one,
+	.remove		= __devexit_p(amd8111e_remove_one),
+	.suspend	= amd8111e_suspend,
+	.resume		= amd8111e_resume
 };
 
 static int __init amd8111e_init(void)
-- 
To announce that there must be no criticism of the President, or that we
are to stand by the President, right or wrong, is not only unpatriotic
and servile, but is morally treasonable to the American public.
 -- Theodore Roosevelt, Kansas City Star, 1918

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

only message in thread, other threads:[~2003-04-22 18:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-22 15:57 [PATCH] C99 initializers for drivers/net/amd8111e.c Art Haas

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).