diff options
Diffstat (limited to 'drivers/tty/n_hdlc.c')
-rw-r--r-- | drivers/tty/n_hdlc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/tty/n_hdlc.c b/drivers/tty/n_hdlc.c index eea7b6cb3cc4..929434ebee50 100644 --- a/drivers/tty/n_hdlc.c +++ b/drivers/tty/n_hdlc.c | |||
@@ -180,7 +180,7 @@ static ssize_t n_hdlc_tty_write(struct tty_struct *tty, struct file *file, | |||
180 | const unsigned char *buf, size_t nr); | 180 | const unsigned char *buf, size_t nr); |
181 | static int n_hdlc_tty_ioctl(struct tty_struct *tty, struct file *file, | 181 | static int n_hdlc_tty_ioctl(struct tty_struct *tty, struct file *file, |
182 | unsigned int cmd, unsigned long arg); | 182 | unsigned int cmd, unsigned long arg); |
183 | static unsigned int n_hdlc_tty_poll(struct tty_struct *tty, struct file *filp, | 183 | static __poll_t n_hdlc_tty_poll(struct tty_struct *tty, struct file *filp, |
184 | poll_table *wait); | 184 | poll_table *wait); |
185 | static int n_hdlc_tty_open(struct tty_struct *tty); | 185 | static int n_hdlc_tty_open(struct tty_struct *tty); |
186 | static void n_hdlc_tty_close(struct tty_struct *tty); | 186 | static void n_hdlc_tty_close(struct tty_struct *tty); |
@@ -796,11 +796,11 @@ static int n_hdlc_tty_ioctl(struct tty_struct *tty, struct file *file, | |||
796 | * to caller. | 796 | * to caller. |
797 | * Returns a bit mask containing info on which ops will not block. | 797 | * Returns a bit mask containing info on which ops will not block. |
798 | */ | 798 | */ |
799 | static unsigned int n_hdlc_tty_poll(struct tty_struct *tty, struct file *filp, | 799 | static __poll_t n_hdlc_tty_poll(struct tty_struct *tty, struct file *filp, |
800 | poll_table *wait) | 800 | poll_table *wait) |
801 | { | 801 | { |
802 | struct n_hdlc *n_hdlc = tty2n_hdlc (tty); | 802 | struct n_hdlc *n_hdlc = tty2n_hdlc (tty); |
803 | unsigned int mask = 0; | 803 | __poll_t mask = 0; |
804 | 804 | ||
805 | if (debuglevel >= DEBUG_LEVEL_INFO) | 805 | if (debuglevel >= DEBUG_LEVEL_INFO) |
806 | printk("%s(%d)n_hdlc_tty_poll() called\n",__FILE__,__LINE__); | 806 | printk("%s(%d)n_hdlc_tty_poll() called\n",__FILE__,__LINE__); |