forked from luck/tmp_suning_uos_patched
ide-floppy: use alloc_disk_node()
Acked-by: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
099ed4c2f5
commit
9c3ba7692b
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user