]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/hvc_console.c
hvc_console: Add a hangup notifier for backends
[linux-2.6-omap-h63xx.git] / drivers / char / hvc_console.c
index bf70450a49ccbc403c62917c53f0db73f7328f5d..5c9750ed0bc2ed674ca1376e551ee69f1911fb20 100644 (file)
@@ -418,8 +418,8 @@ static void hvc_hangup(struct tty_struct *tty)
 
        spin_unlock_irqrestore(&hp->lock, flags);
 
-       if (hp->ops->notifier_del)
-                       hp->ops->notifier_del(hp, hp->data);
+       if (hp->ops->notifier_hangup)
+                       hp->ops->notifier_hangup(hp, hp->data);
 
        while(temp_open_count) {
                --temp_open_count;