aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/console
diff options
context:
space:
mode:
authorWang YanQing <udknight@gmail.com>2013-05-08 14:13:30 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-20 15:27:58 -0400
commite57f35d45f37a380ebf4006b560b68f3eb6af3d7 (patch)
treed30ab5937976548421fa00d4a03f3b77895f6cd2 /drivers/video/console
parent582f55907d3f6cb762af20b56478bf25ef96430e (diff)
fbcon: convert last fbcon_takeover call to do_fbcon_takeover
After commit 054430e773c9a1e26f38e30156eff02dedfffc17 (fbcon: fix locking harder), there is only one place use do_fbcon_takeover now, this patch convert it to do_fbcon_takeover too, then we can delete fbcon_takeover whos function can be achieved with do_fbcon_takeover easily to reduce code size and duplication. Signed-off-by: Wang YanQing <udknight@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video/console')
-rw-r--r--drivers/video/console/fbcon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
index a92783e480e6..84121da38474 100644
--- a/drivers/video/console/fbcon.c
+++ b/drivers/video/console/fbcon.c
@@ -3543,8 +3543,9 @@ static void fbcon_start(void)
3543 } 3543 }
3544 } 3544 }
3545 3545
3546 do_fbcon_takeover(0);
3546 console_unlock(); 3547 console_unlock();
3547 fbcon_takeover(0); 3548
3548 } 3549 }
3549} 3550}
3550 3551