diff options
-rw-r--r-- | drivers/ide/ide-probe.c | 2 | ||||
-rw-r--r-- | include/linux/ide.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 1af94ac4892a..18e9b82e132c 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
@@ -1340,7 +1340,7 @@ static void hwif_register_devices(ide_hwif_t *hwif) | |||
1340 | } | 1340 | } |
1341 | } | 1341 | } |
1342 | 1342 | ||
1343 | int ide_device_add_all(u8 idx[MAX_HWIFS]) | 1343 | int ide_device_add_all(u8 *idx) |
1344 | { | 1344 | { |
1345 | ide_hwif_t *hwif; | 1345 | ide_hwif_t *hwif; |
1346 | int i, rc = 0; | 1346 | int i, rc = 0; |
diff --git a/include/linux/ide.h b/include/linux/ide.h index d7c0f9a8bd9e..ce9b16f38c08 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -1201,7 +1201,7 @@ void ide_unregister_region(struct gendisk *); | |||
1201 | 1201 | ||
1202 | void ide_undecoded_slave(ide_drive_t *); | 1202 | void ide_undecoded_slave(ide_drive_t *); |
1203 | 1203 | ||
1204 | int ide_device_add_all(u8 idx[MAX_HWIFS]); | 1204 | int ide_device_add_all(u8 *idx); |
1205 | int ide_device_add(u8 idx[4]); | 1205 | int ide_device_add(u8 idx[4]); |
1206 | 1206 | ||
1207 | static inline void *ide_get_hwifdata (ide_hwif_t * hwif) | 1207 | static inline void *ide_get_hwifdata (ide_hwif_t * hwif) |