Commit 4cc76cec authored by Art Haas's avatar Art Haas Committed by David S. Miller

[PATCH] C99 initializers for drivers/parport

parent 4caefee0
...@@ -202,40 +202,40 @@ void parport_gsc_dec_use_count(void) ...@@ -202,40 +202,40 @@ void parport_gsc_dec_use_count(void)
struct parport_operations parport_gsc_ops = struct parport_operations parport_gsc_ops =
{ {
write_data: parport_gsc_write_data, .write_data = parport_gsc_write_data,
read_data: parport_gsc_read_data, .read_data = parport_gsc_read_data,
write_control: parport_gsc_write_control, .write_control = parport_gsc_write_control,
read_control: parport_gsc_read_control, .read_control = parport_gsc_read_control,
frob_control: parport_gsc_frob_control, .frob_control = parport_gsc_frob_control,
read_status: parport_gsc_read_status, .read_status = parport_gsc_read_status,
enable_irq: parport_gsc_enable_irq, .enable_irq = parport_gsc_enable_irq,
disable_irq: parport_gsc_disable_irq, .disable_irq = parport_gsc_disable_irq,
data_forward: parport_gsc_data_forward, .data_forward = parport_gsc_data_forward,
data_reverse: parport_gsc_data_reverse, .data_reverse = parport_gsc_data_reverse,
init_state: parport_gsc_init_state, .init_state = parport_gsc_init_state,
save_state: parport_gsc_save_state, .save_state = parport_gsc_save_state,
restore_state: parport_gsc_restore_state, .restore_state = parport_gsc_restore_state,
inc_use_count: parport_gsc_inc_use_count, .inc_use_count = parport_gsc_inc_use_count,
dec_use_count: parport_gsc_dec_use_count, .dec_use_count = parport_gsc_dec_use_count,
epp_write_data: parport_ieee1284_epp_write_data, .epp_write_data = parport_ieee1284_epp_write_data,
epp_read_data: parport_ieee1284_epp_read_data, .epp_read_data = parport_ieee1284_epp_read_data,
epp_write_addr: parport_ieee1284_epp_write_addr, .epp_write_addr = parport_ieee1284_epp_write_addr,
epp_read_addr: parport_ieee1284_epp_read_addr, .epp_read_addr = parport_ieee1284_epp_read_addr,
ecp_write_data: parport_ieee1284_ecp_write_data, .ecp_write_data = parport_ieee1284_ecp_write_data,
ecp_read_data: parport_ieee1284_ecp_read_data, .ecp_read_data = parport_ieee1284_ecp_read_data,
ecp_write_addr: parport_ieee1284_ecp_write_addr, .ecp_write_addr = parport_ieee1284_ecp_write_addr,
compat_write_data: parport_ieee1284_write_compat, .compat_write_data = parport_ieee1284_write_compat,
nibble_read_data: parport_ieee1284_read_nibble, .nibble_read_data = parport_ieee1284_read_nibble,
byte_read_data: parport_ieee1284_read_byte, .byte_read_data = parport_ieee1284_read_byte,
}; };
/* --- Mode detection ------------------------------------- */ /* --- Mode detection ------------------------------------- */
...@@ -492,9 +492,9 @@ static struct parisc_device_id parport_tbl[] = { ...@@ -492,9 +492,9 @@ static struct parisc_device_id parport_tbl[] = {
MODULE_DEVICE_TABLE(parisc, parport_tbl); MODULE_DEVICE_TABLE(parisc, parport_tbl);
static struct parisc_driver parport_driver = { static struct parisc_driver parport_driver = {
name: "Parallel", .name = "Parallel",
id_table: parport_tbl, .id_table = parport_tbl,
probe: parport_init_chip, .probe = parport_init_chip,
}; };
int __devinit parport_gsc_init(void) int __devinit parport_gsc_init(void)
......
...@@ -344,10 +344,10 @@ static void __devexit parport_serial_pci_remove (struct pci_dev *dev) ...@@ -344,10 +344,10 @@ static void __devexit parport_serial_pci_remove (struct pci_dev *dev)
} }
static struct pci_driver parport_serial_pci_driver = { static struct pci_driver parport_serial_pci_driver = {
name: "parport_serial", .name = "parport_serial",
id_table: parport_serial_pci_tbl, .id_table = parport_serial_pci_tbl,
probe: parport_serial_pci_probe, .probe = parport_serial_pci_probe,
remove: __devexit_p(parport_serial_pci_remove), .remove = __devexit_p(parport_serial_pci_remove),
}; };
......
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