diff options
Diffstat (limited to 'drivers/ide/ide-floppy.c')
-rw-r--r-- | drivers/ide/ide-floppy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index cf0aa25470ee..73458e46bf1e 100644 --- a/drivers/ide/ide-floppy.c +++ b/drivers/ide/ide-floppy.c | |||
@@ -788,7 +788,7 @@ static int ide_floppy_probe(ide_drive_t *drive) | |||
788 | goto failed; | 788 | goto failed; |
789 | } | 789 | } |
790 | 790 | ||
791 | g = alloc_disk(1 << PARTN_BITS); | 791 | g = alloc_disk_node(1 << PARTN_BITS, hwif_to_node(drive->hwif)); |
792 | if (!g) | 792 | if (!g) |
793 | goto out_free_floppy; | 793 | goto out_free_floppy; |
794 | 794 | ||