diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-17 18:46:24 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-17 18:46:24 -0400 |
commit | 2304dc6481f9d4fb4f0cb5b72497dfe1694cef9c (patch) | |
tree | c67ee056013a376d83bf9c3e7bd934c69a37d78f /drivers/ide/arm | |
parent | 93de00fd1c70e1a23a73a865e0f9abfe74a7a719 (diff) |
ide: remove ->hold field from ide_hwif_t (take 2)
->hold is write-only now, remove it.
v2:
* v1 missed bast-ide, palm_bk3710, ide-cs and delkin_cb host drivers.
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/arm')
-rw-r--r-- | drivers/ide/arm/bast-ide.c | 2 | ||||
-rw-r--r-- | drivers/ide/arm/palm_bk3710.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/arm/bast-ide.c b/drivers/ide/arm/bast-ide.c index d2196436788b..ec46c44b061c 100644 --- a/drivers/ide/arm/bast-ide.c +++ b/drivers/ide/arm/bast-ide.c | |||
@@ -49,7 +49,7 @@ static int __init bastide_register(unsigned int base, unsigned int aux, int irq) | |||
49 | 49 | ||
50 | if (hwif->present) | 50 | if (hwif->present) |
51 | ide_unregister(i); | 51 | ide_unregister(i); |
52 | else if (!hwif->hold) | 52 | else |
53 | ide_init_port_data(hwif, i); | 53 | ide_init_port_data(hwif, i); |
54 | 54 | ||
55 | ide_init_port_hw(hwif, &hw); | 55 | ide_init_port_hw(hwif, &hw); |
diff --git a/drivers/ide/arm/palm_bk3710.c b/drivers/ide/arm/palm_bk3710.c index 73899ef4ab0d..474162cdf665 100644 --- a/drivers/ide/arm/palm_bk3710.c +++ b/drivers/ide/arm/palm_bk3710.c | |||
@@ -386,7 +386,7 @@ static int __devinit palm_bk3710_probe(struct platform_device *pdev) | |||
386 | 386 | ||
387 | if (hwif->present) | 387 | if (hwif->present) |
388 | ide_unregister(i); | 388 | ide_unregister(i); |
389 | else if (!hwif->hold) | 389 | else |
390 | ide_init_port_data(hwif, i); | 390 | ide_init_port_data(hwif, i); |
391 | 391 | ||
392 | ide_init_port_hw(hwif, &hw); | 392 | ide_init_port_hw(hwif, &hw); |