]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: move ide_port_setup_devices() call to ide_device_add_all()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 17 Apr 2008 22:46:22 +0000 (00:46 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 17 Apr 2008 22:46:22 +0000 (00:46 +0200)
commit26042d058ba21305aeb8ac92e4b1483dbec642ac
tree219ac7061a7c27fb8ca95554cdeb3c0b4d577408
parent43514ed1ee6a2325692e173ea4eb41068bf72de0
ide: move ide_port_setup_devices() call to ide_device_add_all()

Add ide_cfg_mtx lock/unlock to ide_port_setup_devices() and then move
ide_port_setup_devices() call from init_irq() to ide_device_add_all().

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-probe.c