diff options
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index d67ccca2b964..776c574c9640 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -626,6 +626,8 @@ typedef struct hwif_s { | |||
626 | struct ide_host { | 626 | struct ide_host { |
627 | ide_hwif_t *ports[MAX_HWIFS]; | 627 | ide_hwif_t *ports[MAX_HWIFS]; |
628 | unsigned int n_ports; | 628 | unsigned int n_ports; |
629 | struct device *dev[2]; | ||
630 | void *host_priv; | ||
629 | }; | 631 | }; |
630 | 632 | ||
631 | /* | 633 | /* |
@@ -1201,8 +1203,9 @@ struct ide_port_info { | |||
1201 | u8 udma_mask; | 1203 | u8 udma_mask; |
1202 | }; | 1204 | }; |
1203 | 1205 | ||
1204 | int ide_setup_pci_device(struct pci_dev *, const struct ide_port_info *); | 1206 | int ide_pci_init_one(struct pci_dev *, const struct ide_port_info *, void *); |
1205 | int ide_setup_pci_devices(struct pci_dev *, struct pci_dev *, const struct ide_port_info *); | 1207 | int ide_pci_init_two(struct pci_dev *, struct pci_dev *, |
1208 | const struct ide_port_info *, void *); | ||
1206 | 1209 | ||
1207 | void ide_map_sg(ide_drive_t *, struct request *); | 1210 | void ide_map_sg(ide_drive_t *, struct request *); |
1208 | void ide_init_sg_cmd(ide_drive_t *, struct request *); | 1211 | void ide_init_sg_cmd(ide_drive_t *, struct request *); |