From: Felipe Balbi Date: Tue, 24 Jan 2012 08:18:10 +0000 (+0200) Subject: usb: serial: kobil_sct: fix compile warning: X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3297f86a3d4158e052538c7b9a3dea9c855a1b42;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman --- 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 #include "kobil_sct.h" -static int debug; +static bool debug; /* Version Information */ #define DRIVER_VERSION "21/05/2004"