From patchwork Fri Oct 30 14:01:32 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 56627 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 n9UE1fXb006800 for ; Fri, 30 Oct 2009 14:01:41 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932117AbZJ3OBf (ORCPT ); Fri, 30 Oct 2009 10:01:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932084AbZJ3OBf (ORCPT ); Fri, 30 Oct 2009 10:01:35 -0400 Received: from mail.gmx.net ([213.165.64.20]:57053 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S932142AbZJ3OBa (ORCPT ); Fri, 30 Oct 2009 10:01:30 -0400 Received: (qmail invoked by alias); 30 Oct 2009 14:01:26 -0000 Received: from p57BD2221.dip0.t-ipconnect.de (EHLO axis700.grange) [87.189.34.33] by mail.gmx.net (mp041) with SMTP; 30 Oct 2009 15:01:26 +0100 X-Authenticated: #20450766 X-Provags-ID: V01U2FsdGVkX1+AMiNHjbWALo/EKE5LDfl3GZlqDWk6AFOJlSepOf TgGzYmA2SBMPXK Received: from lyakh (helo=localhost) by axis700.grange with local-esmtp (Exim 4.63) (envelope-from ) id 1N3s2m-0001f8-4S; Fri, 30 Oct 2009 15:01:32 +0100 Date: Fri, 30 Oct 2009 15:01:32 +0100 (CET) From: Guennadi Liakhovetski To: Linux Media Mailing List cc: Hans Verkuil , Laurent Pinchart , Sakari Ailus , Muralidharan Karicheri Subject: [PATCH/RFC 8/9 v2] soc-camera: convert to the new imagebus API In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-Y-GMX-Trusted: 0 X-FuHaFi: 0.42 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org diff --git a/arch/sh/boards/board-ap325rxa.c b/arch/sh/boards/board-ap325rxa.c index a3afe43..30fa8b8 100644 --- a/arch/sh/boards/board-ap325rxa.c +++ b/arch/sh/boards/board-ap325rxa.c @@ -317,8 +317,8 @@ static struct soc_camera_platform_info camera_info = { .format_name = "UYVY", .format_depth = 16, .format = { - .pixelformat = V4L2_PIX_FMT_UYVY, - .colorspace = V4L2_COLORSPACE_SMPTE170M, + .code = V4L2_IMGBUS_FMT_UYVY, + .field = V4L2_FIELD_NONE, .width = 640, .height = 480, }, diff --git a/arch/sh/boards/mach-kfr2r09/setup.c b/arch/sh/boards/mach-kfr2r09/setup.c index ce01d6a..18df641 100644 --- a/arch/sh/boards/mach-kfr2r09/setup.c +++ b/arch/sh/boards/mach-kfr2r09/setup.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include