]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/hvc_iseries.c
ocfs2/quota: Add QUOTA in mlog_attribute.
[linux-2.6-omap-h63xx.git] / drivers / char / hvc_iseries.c
index b71c610fe5ae0584092b8badbc4c9c93fe52f117..449727b6166d417174b2ce3c662d0da31af73830 100644 (file)
@@ -202,6 +202,7 @@ static struct hv_ops hvc_get_put_ops = {
        .put_chars = put_chars,
        .notifier_add = notifier_add_irq,
        .notifier_del = notifier_del_irq,
+       .notifier_hangup = notifier_hangup_irq,
 };
 
 static int __devinit hvc_vio_probe(struct vio_dev *vdev,
@@ -574,8 +575,10 @@ static int __init hvc_find_vtys(void)
                 * of console adapters.
                 */
                if ((num_found >= MAX_NR_HVC_CONSOLES) ||
-                               (num_found >= VTTY_PORTS))
+                               (num_found >= VTTY_PORTS)) {
+                       of_node_put(vty);
                        break;
+               }
 
                vtermno = of_get_property(vty, "reg", NULL);
                if (!vtermno)