]> cvs.zerfleddert.de Git - usb-driver/blobdiff - config.c
ignore bus-id on XILINX_USB_DEV setting missing a device-id
[usb-driver] / config.c
index e09d5ca8989a96ffc50be23c7f5edb7ddb3f3658..78de78b80b6f087ad3401c7fe958228bdaabbe85 100644 (file)
--- a/config.c
+++ b/config.c
@@ -17,11 +17,14 @@ static struct parport_config pp_config[4];
 
 static void read_config() {
        int i;
-       int line, len, num;
        static int config_read = 0;
        FILE *cfg;
-       char buf[LINELEN], *pbuf;
+       char buf[LINELEN];
+#ifdef JTAGKEY
+       char *pbuf;
        unsigned short vid, pid;
+       int line, len, num;
+#endif
 
        if (config_read)
                return;
Impressum, Datenschutz