]> git.karo-electronics.de Git - linux-beck.git/commit
drivers: usb: Mark function as static in metro-usb.c
authorRashika Kheria <rashika.kheria@gmail.com>
Thu, 19 Dec 2013 10:13:17 +0000 (15:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Dec 2013 18:23:12 +0000 (10:23 -0800)
commit8f24c4905cdc86f9ecef1c2690950b219681e749
treec0b42b9065faf88be50ffc9c864a3dd83bdf2c5c
parentff4708e69a633912c5c8e055fc399bf356d7a784
drivers: usb: Mark function as static in metro-usb.c

Mark function metrousb_is_unidirectional_mode() in serial/metro-usb.c
because it is not used outside this file.

This eliminates the following warning in serial/metro-usb.c:
drivers/usb/serial/metro-usb.c:57:12: warning: no previous prototype for ‘metrousb_is_unidirectional_mode’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/metro-usb.c