aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Thompson <daniel.thompson@linaro.org>2018-01-01 13:01:10 +0000
committerDaniel Thompson <daniel.thompson@linaro.org>2018-01-01 13:01:10 +0000
commit4ad6abf29ec03a022c3235c8b47c49924cb36fe8 (patch)
treeb16d7f7007ad90fb233295510ef35416cd03bad7 /include
parent9a27ded2195aaec2041ed2525ba7f373c60920c7 (diff)
tty: Add request_irq() to the "polling" interface
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/tty_driver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/tty_driver.h b/include/linux/tty_driver.h
index fcdc0f5d9098..c043e64862b2 100644
--- a/include/linux/tty_driver.h
+++ b/include/linux/tty_driver.h
@@ -291,6 +291,7 @@ struct tty_operations {
int (*poll_init)(struct tty_driver *driver, int line, char *options);
int (*poll_get_char)(struct tty_driver *driver, int line);
void (*poll_put_char)(struct tty_driver *driver, int line, char ch);
+ int (*poll_get_irq)(struct tty_driver *driver, int line);
#endif
const struct file_operations *proc_fops;
} __randomize_layout;