From: Bartlomiej Zolnierkiewicz Date: Fri, 17 Oct 2008 16:09:09 +0000 (+0200) Subject: ide-floppy: use alloc_disk_node() X-Git-Tag: v2.6.28-rc1~83^2~33 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9c3ba7692bc1166c6a5d06fb7c59984f9f988a00;p=linux-2.6-omap-h63xx.git ide-floppy: use alloc_disk_node() Acked-by: Borislav Petkov Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index cf0aa25470e..73458e46bf1 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) 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;