summaryrefslogtreecommitdiff
path: root/libdde-linux26/contrib
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-08-14 13:13:44 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-08-14 13:13:44 +0200
commit91b7d25f39150c6cd6fd17c181788e6ebb2acbd4 (patch)
treefcb3a9fbf43ed14ef855050b77b72a9930fca7b1 /libdde-linux26/contrib
parent6dd8dac9368539abca0315601198880afa2d203a (diff)
avoid linking conflict over unused symbol
Diffstat (limited to 'libdde-linux26/contrib')
-rw-r--r--libdde-linux26/contrib/include/linux/tty_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdde-linux26/contrib/include/linux/tty_driver.h b/libdde-linux26/contrib/include/linux/tty_driver.h
index 08e08833..8f359e0f 100644
--- a/libdde-linux26/contrib/include/linux/tty_driver.h
+++ b/libdde-linux26/contrib/include/linux/tty_driver.h
@@ -310,7 +310,7 @@ extern void tty_set_operations(struct tty_driver *driver,
extern struct tty_driver *tty_find_polling_driver(char *name, int *line);
extern void tty_driver_kref_put(struct tty_driver *driver);
-extern inline struct tty_driver *tty_driver_kref_get(struct tty_driver *d)
+static inline struct tty_driver *tty_driver_kref_get(struct tty_driver *d)
{
kref_get(&d->kref);
return d;