diff options
| author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-09 20:31:38 -0500 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-09 20:31:38 -0500 | 
| commit | 80c0531514516e43ae118ddf38424e06e5c3cb3c (patch) | |
| tree | 2eef8cf8fdf505b18f83078d1eb41167e98f5b54 /drivers/ide/ide-probe.c | |
| parent | a457aa6c2bdd743bbbffd3f9e4fdbd8c71f8af1b (diff) | |
| parent | 11b751ae8c8ca3fa24c85bd5a3e51dd9f95cda17 (diff) | |
Merge master.kernel.org:/pub/scm/linux/kernel/git/mingo/mutex-2.6
Diffstat (limited to 'drivers/ide/ide-probe.c')
| -rw-r--r-- | drivers/ide/ide-probe.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 1ddaa71a8f45..7cb2d86601db 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
| @@ -655,7 +655,7 @@ static void hwif_release_dev (struct device *dev) | |||
| 655 | { | 655 | { | 
| 656 | ide_hwif_t *hwif = container_of(dev, ide_hwif_t, gendev); | 656 | ide_hwif_t *hwif = container_of(dev, ide_hwif_t, gendev); | 
| 657 | 657 | ||
| 658 | up(&hwif->gendev_rel_sem); | 658 | complete(&hwif->gendev_rel_comp); | 
| 659 | } | 659 | } | 
| 660 | 660 | ||
| 661 | static void hwif_register (ide_hwif_t *hwif) | 661 | static void hwif_register (ide_hwif_t *hwif) | 
| @@ -1327,7 +1327,7 @@ static void drive_release_dev (struct device *dev) | |||
| 1327 | drive->queue = NULL; | 1327 | drive->queue = NULL; | 
| 1328 | spin_unlock_irq(&ide_lock); | 1328 | spin_unlock_irq(&ide_lock); | 
| 1329 | 1329 | ||
| 1330 | up(&drive->gendev_rel_sem); | 1330 | complete(&drive->gendev_rel_comp); | 
| 1331 | } | 1331 | } | 
| 1332 | 1332 | ||
| 1333 | /* | 1333 | /* | 
