summaryrefslogtreecommitdiff
path: root/recipes/lcd4linux/files/libusb-compat.diff
blob: 43d7cb9f634a305672ee3ef677676cf24f348ff3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
diff -Nurd lcd4linux-0.10.1-RC2.orig/drv_BWCT.c lcd4linux-0.10.1-RC2/drv_BWCT.c
--- lcd4linux-0.10.1-RC2.orig/drv_BWCT.c	2007-02-25 13:39:09.000000000 +0100
+++ lcd4linux-0.10.1-RC2/drv_BWCT.c	2008-06-22 11:57:01.000000000 +0200
@@ -72,7 +72,6 @@
 static usb_dev_handle *lcd;
 static int interface;
 
-extern int usb_debug;
 extern int got_signal;
 
 
@@ -89,7 +88,6 @@
 
     info("%s: scanning USB for BWCT LCD...", Name);
 
-    usb_debug = 0;
 
     usb_init();
     usb_find_busses();
diff -Nurd lcd4linux-0.10.1-RC2.orig/drv_LCD2USB.c lcd4linux-0.10.1-RC2/drv_LCD2USB.c
--- lcd4linux-0.10.1-RC2.orig/drv_LCD2USB.c	2007-02-25 13:39:10.000000000 +0100
+++ lcd4linux-0.10.1-RC2/drv_LCD2USB.c	2008-06-22 11:57:47.000000000 +0200
@@ -98,7 +98,6 @@
 static usb_dev_handle *lcd;
 static int controllers = 0;
 
-extern int usb_debug;
 extern int got_signal;
 
 /****************************************/
@@ -120,7 +119,6 @@
     if (device_id != NULL)
 	info("%s: scanning for device id: %s", Name, device_id);
 
-    usb_debug = 0;
 
     usb_init();
     usb_find_busses();
diff -Nurd lcd4linux-0.10.1-RC2.orig/drv_picoLCD.c lcd4linux-0.10.1-RC2/drv_picoLCD.c
--- lcd4linux-0.10.1-RC2.orig/drv_picoLCD.c	2007-02-25 13:39:10.000000000 +0100
+++ lcd4linux-0.10.1-RC2/drv_picoLCD.c	2008-06-22 11:58:10.000000000 +0200
@@ -75,7 +75,6 @@
 static char *BufPtr;
 
 static usb_dev_handle *lcd;
-extern int usb_debug;
 
 
 
@@ -97,7 +96,6 @@
 
     info("%s: scanning for picoLCD...", Name);
 
-    usb_debug = 0;
 
     usb_init();
     usb_find_busses();
diff -Nurd lcd4linux-0.10.1-RC2.orig/drv_Trefon.c lcd4linux-0.10.1-RC2/drv_Trefon.c
--- lcd4linux-0.10.1-RC2.orig/drv_Trefon.c	2007-02-25 13:39:10.000000000 +0100
+++ lcd4linux-0.10.1-RC2/drv_Trefon.c	2008-06-22 11:58:50.000000000 +0200
@@ -72,7 +72,6 @@
 static usb_dev_handle *lcd;
 static int interface;
 
-extern int usb_debug;
 
 
 /****************************************/
@@ -88,7 +87,6 @@
 
     info("%s: scanning USB for TREFON LCD...", Name);
 
-    usb_debug = 0;
 
     usb_init();
     usb_find_busses();
diff -Nurd lcd4linux-0.10.1-RC2.orig/drv_USBLCD.c lcd4linux-0.10.1-RC2/drv_USBLCD.c
--- lcd4linux-0.10.1-RC2.orig/drv_USBLCD.c	2007-02-25 13:39:10.000000000 +0100
+++ lcd4linux-0.10.1-RC2/drv_USBLCD.c	2008-06-22 11:58:57.000000000 +0200
@@ -86,7 +86,6 @@
 static usb_dev_handle *lcd;
 static int interface;
 
-extern int usb_debug;
 
 #endif
 
@@ -107,7 +106,6 @@
 
     info("%s: scanning for USBLCD...", Name);
 
-    usb_debug = 0;
 
     usb_init();
     usb_find_busses();