aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/hvc_console.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/hvc_console.c')
-rw-r--r--drivers/char/hvc_console.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/hvc_console.c b/drivers/char/hvc_console.c
index bf70450a49cc..5c9750ed0bc2 100644
--- a/drivers/char/hvc_console.c
+++ b/drivers/char/hvc_console.c
@@ -418,8 +418,8 @@ static void hvc_hangup(struct tty_struct *tty)
418 418
419 spin_unlock_irqrestore(&hp->lock, flags); 419 spin_unlock_irqrestore(&hp->lock, flags);
420 420
421 if (hp->ops->notifier_del) 421 if (hp->ops->notifier_hangup)
422 hp->ops->notifier_del(hp, hp->data); 422 hp->ops->notifier_hangup(hp, hp->data);
423 423
424 while(temp_open_count) { 424 while(temp_open_count) {
425 --temp_open_count; 425 --temp_open_count;