Messages in this thread Patch in this message | | | From | Danny Kukawka <> | Subject | [PATCH 12/16] kobil_sct: fix debug module parameter to be bool | Date | Mon, 30 Jan 2012 23:00:16 +0100 |
| |
Fix debug variable from module parameter to be really bool to fix 'warning: return from incompatible pointer type'.
Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de> --- drivers/usb/serial/kobil_sct.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/serial/kobil_sct.c b/drivers/usb/serial/kobil_sct.c index 5d3beee..a92a3ef 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" -- 1.7.7.3
| |