]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
palm_bk3710: fix ide_unregister() usage
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 10 Feb 2008 23:32:12 +0000 (00:32 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 10 Feb 2008 23:32:12 +0000 (00:32 +0100)
Don't set 'restore' flag for ide_unregister() when initializing new
interface.

[ identical change as done to bast-ide/ide-cs/delkin_cb host drivers
  by commit 909f4369bca30f9a186316a3bf2b4a9c1e702a25 ]

Cc: Anton Salnikov <asalnikov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/arm/palm_bk3710.c

index 08029662106f982e34d03422a64bb5f769a25c3e..0ce95c1ba7e1dd7356d85294ec3ff3acab227d18 100644 (file)
@@ -363,7 +363,7 @@ static int __devinit palm_bk3710_probe(struct platform_device *pdev)
        i = hwif->index;
 
        if (hwif->present)
-               ide_unregister(i, 0, 1);
+               ide_unregister(i, 0, 0);
        else if (!hwif->hold)
                ide_init_port_data(hwif, i);