Re: ov511 driver doesn't compile

From: Erik Mouw (J.A.K.Mouw@ITS.TUDelft.NL)
Date: Sat May 26 2001 - 06:45:25 EST


On Sat, May 26, 2001 at 12:52:48PM +0200, David G?mez wrote:
> On kernel 2.4.5, the ov511 usb driver shows a failure at compile
> time. const version is not defined.

I send a patch to Linus for linux-2.4.5-pre5, but apparently he didn't
include it. Here it is again.

BTW, this is already fixed in 2.4.4-ac17, so I suppose Alan will pass
it to Linus.

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:29 EST