diff options
Diffstat (limited to 'include/linux/ide.h')
| -rw-r--r-- | include/linux/ide.h | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/include/linux/ide.h b/include/linux/ide.h index 37a4344f3842..86fa030e8022 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
| @@ -832,8 +832,10 @@ typedef struct hwif_s { | |||
| 832 | #endif | 832 | #endif | 
| 833 | } ____cacheline_internodealigned_in_smp ide_hwif_t; | 833 | } ____cacheline_internodealigned_in_smp ide_hwif_t; | 
| 834 | 834 | ||
| 835 | #define MAX_HOST_PORTS 4 | ||
| 836 | |||
| 835 | struct ide_host { | 837 | struct ide_host { | 
| 836 | ide_hwif_t *ports[MAX_HWIFS]; | 838 | ide_hwif_t *ports[MAX_HOST_PORTS]; | 
| 837 | unsigned int n_ports; | 839 | unsigned int n_ports; | 
| 838 | struct device *dev[2]; | 840 | struct device *dev[2]; | 
| 839 | unsigned int (*init_chipset)(struct pci_dev *); | 841 | unsigned int (*init_chipset)(struct pci_dev *); | 
| @@ -1479,7 +1481,6 @@ void ide_undecoded_slave(ide_drive_t *); | |||
| 1479 | 1481 | ||
| 1480 | void ide_port_apply_params(ide_hwif_t *); | 1482 | void ide_port_apply_params(ide_hwif_t *); | 
| 1481 | 1483 | ||
| 1482 | struct ide_host *ide_host_alloc_all(const struct ide_port_info *, hw_regs_t **); | ||
| 1483 | struct ide_host *ide_host_alloc(const struct ide_port_info *, hw_regs_t **); | 1484 | struct ide_host *ide_host_alloc(const struct ide_port_info *, hw_regs_t **); | 
| 1484 | void ide_host_free(struct ide_host *); | 1485 | void ide_host_free(struct ide_host *); | 
| 1485 | int ide_host_register(struct ide_host *, const struct ide_port_info *, | 1486 | int ide_host_register(struct ide_host *, const struct ide_port_info *, | 
