V4L/DVB (13311): uvcvideo: Fix compilation warning with 2.6.32 due to type mismatch...
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 4 Nov 2009 16:11:10 +0000 (13:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 7 Nov 2009 14:55:14 +0000 (12:55 -0200)
commit2e8961330ec4b558a0f4db18ab5fb566842f492b
treeab14866b8643d51bc43757b112d4b1b2cccb4203
parenta2e35af6c756b5fa827fec5e0431cf2ce449beef
V4L/DVB (13311): uvcvideo: Fix compilation warning with 2.6.32 due to type mismatch with abs()

The abs() macro has changed in 2.6.32 and returns a long instead of an
int. Fix the driver to avoid compilation warnings.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/uvc_ctrl.c