summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2012-01-24 09:18:10 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2012-01-24 21:23:18 +0100
commit3297f86a3d4158e052538c7b9a3dea9c855a1b42 (patch)
tree25eb96cb96c98ffdf21ffcfe25c2e4f387877cd6 /drivers/usb
parentdrivers/usb/host/ehci-fsl.c: add missing iounmap (diff)
downloadlinux-3297f86a3d4158e052538c7b9a3dea9c855a1b42.tar.xz
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')
-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"