Signed-off-by: Andrew Morton --- drivers/ide/ide-probe.c | 2 +- include/linux/ide.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/ide/ide-probe.c~ide-mm-ide-fix-build-break-caused-by-ide-remove-ideprobe_init drivers/ide/ide-probe.c --- a/drivers/ide/ide-probe.c~ide-mm-ide-fix-build-break-caused-by-ide-remove-ideprobe_init +++ a/drivers/ide/ide-probe.c @@ -1340,7 +1340,7 @@ static void hwif_register_devices(ide_hw } } -int ide_device_add_all(u8 idx[MAX_HWIFS]) +int ide_device_add_all(u8 *idx) { ide_hwif_t *hwif; int i, rc = 0; diff -puN include/linux/ide.h~ide-mm-ide-fix-build-break-caused-by-ide-remove-ideprobe_init include/linux/ide.h --- a/include/linux/ide.h~ide-mm-ide-fix-build-break-caused-by-ide-remove-ideprobe_init +++ a/include/linux/ide.h @@ -1201,7 +1201,7 @@ void ide_unregister_region(struct gendis void ide_undecoded_slave(ide_drive_t *); -int ide_device_add_all(u8 idx[MAX_HWIFS]); +int ide_device_add_all(u8 *idx); int ide_device_add(u8 idx[4]); static inline void *ide_get_hwifdata (ide_hwif_t * hwif) _