summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/kobil_sct.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2012-01-24 10:18:10 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2012-01-24 12:23:18 -0800
commit3297f86a3d4158e052538c7b9a3dea9c855a1b42 (patch)
tree25eb96cb96c98ffdf21ffcfe25c2e4f387877cd6 /drivers/usb/serial/kobil_sct.c
parent2492c6e6454ff3edb11e273b071a6ea80a199c71 (diff)
downloadlinux-3297f86a3d4158e052538c7b9a3dea9c855a1b42.tar.gz
linux-3297f86a3d4158e052538c7b9a3dea9c855a1b42.tar.bz2
linux-3297f86a3d4158e052538c7b9a3dea9c855a1b42.zip
usb: serial: kobil_sct: fix compile warning:
Fix the following compile warning: drivers/usb/serial/kobil_sct.c: In function ‘__check_debug’: drivers/usb/serial/kobil_sct.c:719:1: warning: return from incompatible pointer type [enabled by default] Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/kobil_sct.c')
-rw-r--r--drivers/usb/serial/kobil_sct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/kobil_sct.c b/drivers/usb/serial/kobil_sct.c
index 5d3beeeb5fd9..a92a3efb507b 100644
--- a/drivers/usb/serial/kobil_sct.c
+++ b/drivers/usb/serial/kobil_sct.c
@@ -38,7 +38,7 @@
#include <linux/ioctl.h>
#include "kobil_sct.h"
-static int debug;
+static bool debug;
/* Version Information */
#define DRIVER_VERSION "21/05/2004"