From patchwork Mon Nov 23 17:29:35 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Corbet X-Patchwork-Id: 62230 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nANHTqEn031539 for ; Mon, 23 Nov 2009 17:29:52 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753270AbZKWR3c (ORCPT ); Mon, 23 Nov 2009 12:29:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752674AbZKWR3b (ORCPT ); Mon, 23 Nov 2009 12:29:31 -0500 Received: from vena.lwn.net ([206.168.112.25]:50483 "EHLO vena.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753275AbZKWR3b (ORCPT ); Mon, 23 Nov 2009 12:29:31 -0500 Received: from bike.lwn.net (jon-dsl [199.45.162.133]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by vena (Postfix) with ESMTPSA id 71E4B16B5E4; Mon, 23 Nov 2009 10:29:37 -0700 (MST) Date: Mon, 23 Nov 2009 10:29:35 -0700 From: Jonathan Corbet To: Mauro Carvalho Chehab , linux-media@vger.kernel.org Subject: [PATCH, RFC] Fix videobuf_queue_vmalloc_init() prototype Message-ID: <20091123102935.1e89561e@bike.lwn.net> Organization: LWN.net X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.3; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org diff --git a/drivers/media/video/videobuf-vmalloc.c b/drivers/media/video/videobuf-vmalloc.c index 99d646e..d6e6a28 100644 --- a/drivers/media/video/videobuf-vmalloc.c +++ b/drivers/media/video/videobuf-vmalloc.c @@ -392,7 +392,7 @@ static struct videobuf_qtype_ops qops = { void videobuf_queue_vmalloc_init(struct videobuf_queue* q, const struct videobuf_queue_ops *ops, - void *dev, + struct device *dev, spinlock_t *irqlock, enum v4l2_buf_type type, enum v4l2_field field, diff --git a/include/media/videobuf-vmalloc.h b/include/media/videobuf-vmalloc.h index 1ffdb66..4b419a2 100644 --- a/include/media/videobuf-vmalloc.h +++ b/include/media/videobuf-vmalloc.h @@ -31,7 +31,7 @@ struct videobuf_vmalloc_memory void videobuf_queue_vmalloc_init(struct videobuf_queue* q, const struct videobuf_queue_ops *ops, - void *dev, + struct device *dev, spinlock_t *irqlock, enum v4l2_buf_type type, enum v4l2_field field,