diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/tty_driver.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/tty_driver.h b/include/linux/tty_driver.h index 8615d661ab60..bcba84ea2d86 100644 --- a/include/linux/tty_driver.h +++ b/include/linux/tty_driver.h | |||
@@ -309,7 +309,8 @@ extern void tty_set_operations(struct tty_driver *driver, | |||
309 | extern struct tty_driver *tty_find_polling_driver(char *name, int *line); | 309 | extern struct tty_driver *tty_find_polling_driver(char *name, int *line); |
310 | 310 | ||
311 | extern void tty_driver_kref_put(struct tty_driver *driver); | 311 | extern void tty_driver_kref_put(struct tty_driver *driver); |
312 | extern inline struct tty_driver *tty_driver_kref_get(struct tty_driver *d) | 312 | |
313 | static inline struct tty_driver *tty_driver_kref_get(struct tty_driver *d) | ||
313 | { | 314 | { |
314 | kref_get(&d->kref); | 315 | kref_get(&d->kref); |
315 | return d; | 316 | return d; |