mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
ide-floppy: use alloc_disk_node()
Acked-by: Borislav Petkov <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
This commit is contained in:
parent
099ed4c2f5
commit
9c3ba7692b
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue