]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/vt.c
Input: keyboard - simplify emulate_raw() implementation
[linux-2.6-omap-h63xx.git] / drivers / char / vt.c
index 3ef823d7d255d78d39b2682c837dd33e0854f51b..da7e66a2a38b5dcda25270c6b4329069f36a886f 100644 (file)
@@ -886,6 +886,7 @@ void vc_disallocate(unsigned int currcons)
        if (vc_cons_allocated(currcons)) {
                struct vc_data *vc = vc_cons[currcons].d;
                vc->vc_sw->con_deinit(vc);
+               module_put(vc->vc_sw->owner);
                if (vc->vc_kmalloced)
                        kfree(vc->vc_screenbuf);
                if (currcons >= MIN_NR_CONSOLES)