patch-2.4.27 linux-2.4.27/drivers/media/video/cpia.c

Next file: linux-2.4.27/drivers/media/video/videodev.c
Previous file: linux-2.4.27/drivers/md/raid5.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.26/drivers/media/video/cpia.c linux-2.4.27/drivers/media/video/cpia.c
@@ -2443,7 +2443,7 @@
 		goto_high_power(cam);
 		do_command(cam, CPIA_COMMAND_DiscardFrame, 0, 0, 0, 0);
 		if (goto_low_power(cam))
-			return -NODEV;
+			return -ENODEV;
 	}
 	
 	/* procedure described in developer's guide p3-28 */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)