summaryrefslogtreecommitdiff
path: root/drivers/staging/gdm724x/gdm_mux.c
diff options
context:
space:
mode:
authorValentina Manea <valentina.manea.m@gmail.com>2013-10-08 10:21:26 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-11 20:09:57 (GMT)
commitff52b8fe2b8208432f92c59bea20a4a6128923ff (patch)
treefffe7b2247e21d7f5bece9b0fb75c32f80cb523f /drivers/staging/gdm724x/gdm_mux.c
parentc63a164271f81220ff4966d41218a9101f3d0ec4 (diff)
downloadlinux-fsl-qoriq-ff52b8fe2b8208432f92c59bea20a4a6128923ff.tar.xz
staging: gdm724x: Fix sparse warnings regarding static functions/variables
This fixes sparse warnings for functions and variables, e.g.: * drivers/staging/gdm724x/gdm_mux.c:29:25: warning: symbol 'mux_rx_wq' was not declared. Should it be static? Signed-off-by: Valentina Manea <valentina.manea.m@gmail.com> Reviewed-by: Zach Brown <zab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gdm724x/gdm_mux.c')
-rw-r--r--drivers/staging/gdm724x/gdm_mux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/gdm724x/gdm_mux.c b/drivers/staging/gdm724x/gdm_mux.c
index 5b1ef40..d63517c 100644
--- a/drivers/staging/gdm724x/gdm_mux.c
+++ b/drivers/staging/gdm724x/gdm_mux.c
@@ -26,7 +26,7 @@
#include "gdm_mux.h"
-struct workqueue_struct *mux_rx_wq;
+static struct workqueue_struct *mux_rx_wq;
static u16 packet_type[TTY_MAX_COUNT] = {0xF011, 0xF010};
@@ -51,7 +51,7 @@ static const struct usb_device_id id_table[] = {
MODULE_DEVICE_TABLE(usb, id_table);
-int packet_type_to_index(u16 packetType)
+static int packet_type_to_index(u16 packetType)
{
int i;