Merge branch 'pm-cpuidle'
[firefly-linux-kernel-4.4.55.git] / drivers / tty / hvc / hvc_console.h
index 926d9e4b6db7aa26b88d1b0639f6fab11425c72b..91310198082736e0a5bffb75192b71aa1649764a 100644 (file)
@@ -49,8 +49,6 @@ struct hvc_struct {
        struct tty_port port;
        spinlock_t lock;
        int index;
-       struct tty_struct *tty;
-       int count;
        int do_wakeup;
        char *outbuf;
        int outbuf_size;
@@ -77,6 +75,9 @@ struct hv_ops {
        /* tiocmget/set implementation */
        int (*tiocmget)(struct hvc_struct *hp);
        int (*tiocmset)(struct hvc_struct *hp, unsigned int set, unsigned int clear);
+
+       /* Callbacks to handle tty ports */
+       void (*dtr_rts)(struct hvc_struct *hp, int raise);
 };
 
 /* Register a vterm and a slot index for use as a console (console_init) */