Skip to content

Commit

Permalink
ide-floppy: use alloc_disk_node()
Browse files Browse the repository at this point in the history
Acked-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Oct 17, 2008
1 parent 099ed4c commit 9c3ba76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ide/ide-floppy.c
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ static int ide_floppy_probe(ide_drive_t *drive)
goto failed;
}

g = alloc_disk(1 << PARTN_BITS);
g = alloc_disk_node(1 << PARTN_BITS, hwif_to_node(drive->hwif));
if (!g)
goto out_free_floppy;

Expand Down

0 comments on commit 9c3ba76

Please sign in to comment.