Fix ov511 compile time bug in 2.4.5-pre5

Message ID 20010524152958.E1477@arthur.ubicom.tudelft.nl
State New, archived
Headers show
Series
  • Fix ov511 compile time bug in 2.4.5-pre5
Related show

Commit Message

Erik Mouw May 24, 2001, 1:29 p.m. UTC
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

Patch

--- 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");