diff options
author | Daniel Thompson <daniel.thompson@linaro.org> | 2018-01-01 13:01:10 +0000 |
---|---|---|
committer | Daniel Thompson <daniel.thompson@linaro.org> | 2018-01-01 13:01:10 +0000 |
commit | 4ad6abf29ec03a022c3235c8b47c49924cb36fe8 (patch) | |
tree | b16d7f7007ad90fb233295510ef35416cd03bad7 /include | |
parent | 9a27ded2195aaec2041ed2525ba7f373c60920c7 (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.h | 1 |
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; |