]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/char/tty_io.c
tty: Fix sparse static warning for tty_driver_lookup_tty
[net-next-2.6.git] / drivers / char / tty_io.c
index d8d240c8a25ac34412087368f62b46a3e5fca119..2a15af65dd1198a104d253e833e2628a283c0fa2 100644 (file)
@@ -1211,7 +1211,7 @@ static void tty_line_name(struct tty_driver *driver, int index, char *p)
  *     be held until the 'fast-open' is also done. Will change once we
  *     have refcounting in the driver and per driver locking
  */
-struct tty_struct *tty_driver_lookup_tty(struct tty_driver *driver,
+static struct tty_struct *tty_driver_lookup_tty(struct tty_driver *driver,
                struct inode *inode, int idx)
 {
        struct tty_struct *tty;