Commit 63f89661 authored by Russell King's avatar Russell King

[MTD] Fix mtdblock.c build error

Move spin_unlock_irq() down one line.
parent a0f3a291
...@@ -394,8 +394,8 @@ static void handle_mtdblock_request(void) ...@@ -394,8 +394,8 @@ static void handle_mtdblock_request(void)
while (!blk_queue_empty(&mtd_queue)) { while (!blk_queue_empty(&mtd_queue)) {
struct request *req = elv_next_request(&mtd_queue); struct request *req = elv_next_request(&mtd_queue);
spin_unlock_irq(mtd_queue.queue_lock);
struct mtdblk_dev **p = req->rq_disk->private_data; struct mtdblk_dev **p = req->rq_disk->private_data;
spin_unlock_irq(mtd_queue.queue_lock);
mtdblk = *p; mtdblk = *p;
res = 0; res = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment