From 3654ca81e0aa3116c24d849336560cc96ff73f11 Mon Sep 17 00:00:00 2001 From: bwalle Date: Tue, 7 Oct 2008 19:32:42 +0000 Subject: 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 --- drv_IRLCD.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drv_IRLCD.c') diff --git a/drv_IRLCD.c b/drv_IRLCD.c index 1bf49c9..3f610fb 100644 --- a/drv_IRLCD.c +++ b/drv_IRLCD.c @@ -84,7 +84,6 @@ static char *device_id = NULL, *bus_id = NULL; static usb_dev_handle *lcd; -extern int usb_debug; extern int got_signal; /****************************************/ @@ -106,7 +105,7 @@ static int drv_IRLCD_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(); -- cgit v1.2.3