X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Ftty%2Fhvc%2Fhvc_console.h;h=91310198082736e0a5bffb75192b71aa1649764a;hb=98497bb241bc99b6506e92d1d3a9386eafd39aa3;hp=674d23cb919afaeac34d5bc0c7bc8bbbd38c9c1f;hpb=c2078e4c9120e7b38b1a02cd9fc6dd4f792110bf;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/tty/hvc/hvc_console.h b/drivers/tty/hvc/hvc_console.h index 674d23cb919a..913101980827 100644 --- a/drivers/tty/hvc/hvc_console.h +++ b/drivers/tty/hvc/hvc_console.h @@ -75,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) */