diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2009-01-02 08:43:04 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-02 13:19:36 -0500 |
commit | a47d545f5782cbde871b50bdf4a83379ed2da222 (patch) | |
tree | 63e75e635bc0a27e335c5982ccda4d8d31e53ed9 /drivers/char | |
parent | d95186d1f455b4b901121ba69d0680800fb4b57b (diff) |
tty: Fix sparse static warning for tty_driver_lookup_tty
Fixed sparse warning:
drivers/char/tty_io.c:1216:19: warning: symbol 'tty_driver_lookup_tty' was not declared. Should it be static?
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/tty_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index d8d240c8a25..2a15af65dd1 100644 --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c | |||
@@ -1211,7 +1211,7 @@ static void tty_line_name(struct tty_driver *driver, int index, char *p) | |||
1211 | * be held until the 'fast-open' is also done. Will change once we | 1211 | * be held until the 'fast-open' is also done. Will change once we |
1212 | * have refcounting in the driver and per driver locking | 1212 | * have refcounting in the driver and per driver locking |
1213 | */ | 1213 | */ |
1214 | struct tty_struct *tty_driver_lookup_tty(struct tty_driver *driver, | 1214 | static struct tty_struct *tty_driver_lookup_tty(struct tty_driver *driver, |
1215 | struct inode *inode, int idx) | 1215 | struct inode *inode, int idx) |
1216 | { | 1216 | { |
1217 | struct tty_struct *tty; | 1217 | struct tty_struct *tty; |