greybus: uart-gb: mark some functions static
authorGreg Kroah-Hartman <greg@kroah.com>
Tue, 28 Oct 2014 01:49:33 +0000 (09:49 +0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 28 Oct 2014 01:49:33 +0000 (09:49 +0800)
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/uart-gb.c

index 370a78f..f88a301 100644 (file)
@@ -390,7 +390,7 @@ static const struct tty_operations gb_ops = {
 };
 
 
-int gb_uart_connection_init(struct gb_connection *connection)
+static int gb_uart_connection_init(struct gb_connection *connection)
 {
        struct gb_tty *gb_tty;
        struct device *tty_dev;
@@ -444,7 +444,7 @@ error:
        return retval;
 }
 
-void gb_uart_connection_exit(struct gb_connection *connection)
+static void gb_uart_connection_exit(struct gb_connection *connection)
 {
        struct gb_tty *gb_tty = connection->private;
        struct tty_struct *tty;