aboutsummaryrefslogtreecommitdiffstats
path: root/drv_LCD2USB.c
diff options
context:
space:
mode:
authorbwalle <bwalle@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2008-10-07 19:32:42 +0000
committerbwalle <bwalle@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2008-10-07 19:32:42 +0000
commit3654ca81e0aa3116c24d849336560cc96ff73f11 (patch)
tree8ded0ab0b7524c1101146671e35c52520d91c3df /drv_LCD2USB.c
parenta80978985167df7650209888a5a89ea8089c091d (diff)
downloadlcd4linux-3654ca81e0aa3116c24d849336560cc96ff73f11.tar.gz
Replace write to external variable usb_debug by calling usb_set_debug().
This fixes build on openSUSE Factory. git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@899 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_LCD2USB.c')
-rw-r--r--drv_LCD2USB.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drv_LCD2USB.c b/drv_LCD2USB.c
index 40360a3..7377d7f 100644
--- a/drv_LCD2USB.c
+++ b/drv_LCD2USB.c
@@ -98,7 +98,6 @@ static char *device_id = NULL, *bus_id = NULL;
static usb_dev_handle *lcd;
static int controllers = 0;
-extern int usb_debug;
extern int got_signal;
/****************************************/
@@ -120,7 +119,7 @@ static int drv_L2U_open(char *bus_id, char *device_id)
if (device_id != NULL)
info("%s: scanning for device id: %s", Name, device_id);
- usb_debug = 0;
+ usb_set_debug(0);
usb_init();
usb_find_busses();