X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=drivers%2Fmedia%2Fusb%2Fcpia2%2Fcpia2_usb.c;h=be17192836099c4e1759e2e7a9d41cf7e9cf3a33;hb=0c8150d2c404a13161eb9e0ff3d9df4838de2a6d;hp=95b5d6e7cdc400d348dcb7462f7806c68e578a43;hpb=cf9ce948f47640797bd19980e1d99c6d17d0bdc3;p=~andy%2Flinux diff --git a/drivers/media/usb/cpia2/cpia2_usb.c b/drivers/media/usb/cpia2/cpia2_usb.c index 95b5d6e7cdc..be171928360 100644 --- a/drivers/media/usb/cpia2/cpia2_usb.c +++ b/drivers/media/usb/cpia2/cpia2_usb.c @@ -328,7 +328,7 @@ static void cpia2_usb_complete(struct urb *urb) continue; } DBG("Start of frame pattern found\n"); - do_gettimeofday(&cam->workbuff->timestamp); + v4l2_get_timestamp(&cam->workbuff->timestamp); cam->workbuff->seq = cam->frame_count++; cam->workbuff->data[0] = 0xFF; cam->workbuff->data[1] = 0xD8;