[PATCH] Fix ov511 compile time bug in 2.4.5-pre5

From: Erik Mouw (J.A.K.Mouw@ITS.TUDelft.NL)
Date: Thu May 24 2001 - 08:29:58 EST


Hi,

The ov511 driver in 2.4.5-pre5 couldn't be compiled because version was
replaced by DRIVER_VERSION. Please apply this trivial fix.

Erik

--- drivers/usb/ov511.c.orig Thu May 24 15:21:58 2001
+++ drivers/usb/ov511.c Thu May 24 15:24:20 2001
@@ -337,7 +337,7 @@
         /* IMPORTANT: This output MUST be kept under PAGE_SIZE
          * or we need to get more sophisticated. */
 
- out += sprintf (out, "driver_version : %s\n", version);
+ out += sprintf (out, "driver_version : %s\n", DRIVER_VERSION);
         out += sprintf (out, "custom_id : %d\n", ov511->customid);
         out += sprintf (out, "model : %s\n", ov511->desc ?
                 clist[ov511->desc].description : "unknown");

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 31 2001 - 21:00:15 EST