Commit 4fc40b02 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] C99 initiailzers for drivers/isdn/hisax/hisax_fcpcipnp.c

From: "Art Haas" <ahaas@airmail.net>

Here is a small patch changing the GNU-style initializers to C99
initializers.
parent e1c578b5
...@@ -971,10 +971,10 @@ static void __devexit fcpnp_remove(struct pnp_dev *pdev) ...@@ -971,10 +971,10 @@ static void __devexit fcpnp_remove(struct pnp_dev *pdev)
} }
static struct pnp_driver fcpnp_driver = { static struct pnp_driver fcpnp_driver = {
name: "fcpnp", .name = "fcpnp",
probe: fcpnp_probe, .probe = fcpnp_probe,
remove: __devexit_p(fcpnp_remove), .remove = __devexit_p(fcpnp_remove),
id_table: fcpnp_ids, .id_table = fcpnp_ids,
}; };
#endif #endif
...@@ -988,10 +988,10 @@ static void __devexit fcpci_remove(struct pci_dev *pdev) ...@@ -988,10 +988,10 @@ static void __devexit fcpci_remove(struct pci_dev *pdev)
} }
static struct pci_driver fcpci_driver = { static struct pci_driver fcpci_driver = {
name: "fcpci", .name = "fcpci",
probe: fcpci_probe, .probe = fcpci_probe,
remove: __devexit_p(fcpci_remove), .remove = __devexit_p(fcpci_remove),
id_table: fcpci_ids, .id_table = fcpci_ids,
}; };
static int __init hisax_fcpcipnp_init(void) static int __init hisax_fcpcipnp_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment