From: Tejun Heo Date: Sat, 18 Apr 2009 22:00:41 +0000 (+0900) Subject: ide: use blk_run_queue() instead of blk_start_queueing() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=220d06b5531e7b8a6226b2fdfb21198c3ccc4f76;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ide: use blk_run_queue() instead of blk_start_queueing() blk_start_queueing() is being phased out in favor of [__]blk_run_queue(). Switch. Signed-off-by: Tejun Heo --- diff --git a/drivers/ide/ide-park.c b/drivers/ide/ide-park.c index 310d03f2b5b7..a914023d6d03 100644 --- a/drivers/ide/ide-park.c +++ b/drivers/ide/ide-park.c @@ -24,11 +24,8 @@ static void issue_park_cmd(ide_drive_t *drive, unsigned long timeout) start_queue = 1; spin_unlock_irq(&hwif->lock); - if (start_queue) { - spin_lock_irq(q->queue_lock); - blk_start_queueing(q); - spin_unlock_irq(q->queue_lock); - } + if (start_queue) + blk_run_queue(q); return; } spin_unlock_irq(&hwif->lock);