Commit 13d77434 authored by Art Haas's avatar Art Haas Committed by Linus Torvalds

[PATCH] Fix initializers on drivers/ide/pci/trident.h

parent f05ed067
...@@ -18,31 +18,26 @@ static int triflex_get_info(char *, char **, off_t, int); ...@@ -18,31 +18,26 @@ static int triflex_get_info(char *, char **, off_t, int);
static ide_pci_device_t triflex_devices[] __devinitdata = { static ide_pci_device_t triflex_devices[] __devinitdata = {
{ {
.vendor PCI_VENDOR_ID_COMPAQ, .vendor = PCI_VENDOR_ID_COMPAQ,
.device PCI_DEVICE_ID_COMPAQ_TRIFLEX_IDE, .device = PCI_DEVICE_ID_COMPAQ_TRIFLEX_IDE,
.name "TRIFLEX", .name = "TRIFLEX",
.init_chipset init_chipset_triflex, .init_chipset = init_chipset_triflex,
.init_iops NULL, .init_iops = NULL,
.init_hwif init_hwif_triflex, .init_hwif = init_hwif_triflex,
.channels 2, .channels = 2,
.autodma AUTODMA, .autodma = AUTODMA,
.enablebits {{0x80, 0x01, 0x01}, {0x80, 0x02, 0x02}}, .enablebits = {{0x80, 0x01, 0x01}, {0x80, 0x02, 0x02}},
.bootable ON_BOARD, .bootable = ON_BOARD,
.extra 0,
},{ },{
.vendor 0, .bootable = EOL,
.device 0,
.channels 0,
.bootable EOL,
} }
}; };
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
static ide_pci_host_proc_t triflex_proc __initdata = { static ide_pci_host_proc_t triflex_proc __initdata = {
name: "triflex", .name = "triflex",
set: 1, .set = 1,
get_info: triflex_get_info, .get_info = triflex_get_info,
parent: NULL,
}; };
#endif #endif
......
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