aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/hvc_console.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/char/hvc_console.c b/drivers/char/hvc_console.c
index 5b819b12675a..74ecb5b2968e 100644
--- a/drivers/char/hvc_console.c
+++ b/drivers/char/hvc_console.c
@@ -689,10 +689,8 @@ EXPORT_SYMBOL_GPL(hvc_poll);
689 */ 689 */
690void hvc_resize(struct hvc_struct *hp, struct winsize ws) 690void hvc_resize(struct hvc_struct *hp, struct winsize ws)
691{ 691{
692 if ((hp->ws.ws_row != ws.ws_row) || (hp->ws.ws_col != ws.ws_col)) { 692 hp->ws = ws;
693 hp->ws = ws; 693 schedule_work(&hp->tty_resize);
694 schedule_work(&hp->tty_resize);
695 }
696} 694}
697 695
698/* 696/*