From patchwork Fri Oct 30 14:01:18 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 56623 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 n9UE1IAB006628 for ; Fri, 30 Oct 2009 14:01:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932140AbZJ3OBM (ORCPT ); Fri, 30 Oct 2009 10:01:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932137AbZJ3OBM (ORCPT ); Fri, 30 Oct 2009 10:01:12 -0400 Received: from mail.gmx.net ([213.165.64.20]:34846 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S932093AbZJ3OBL (ORCPT ); Fri, 30 Oct 2009 10:01:11 -0400 Received: (qmail invoked by alias); 30 Oct 2009 14:01:14 -0000 Received: from p57BD2221.dip0.t-ipconnect.de (EHLO axis700.grange) [87.189.34.33] by mail.gmx.net (mp070) with SMTP; 30 Oct 2009 15:01:14 +0100 X-Authenticated: #20450766 X-Provags-ID: V01U2FsdGVkX1+btGRyEd2bKGRzERRDJc0vwwI7wAr4Xif7/WNm6n +nlTPeNDdAJoZW Received: from lyakh (helo=localhost) by axis700.grange with local-esmtp (Exim 4.63) (envelope-from ) id 1N3s2Y-0001ez-Vg; Fri, 30 Oct 2009 15:01:18 +0100 Date: Fri, 30 Oct 2009 15:01:18 +0100 (CET) From: Guennadi Liakhovetski To: Linux Media Mailing List cc: Hans Verkuil , Laurent Pinchart , Sakari Ailus , Muralidharan Karicheri Subject: [PATCH 5/9] soc-camera: add a private field to struct soc_camera_link In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-Y-GMX-Trusted: 0 X-FuHaFi: 0.63 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org difficult. This patch adds a private field to struct soc_camera_link to make the use of such private data arbitrary. Signed-off-by: Guennadi Liakhovetski --- include/media/soc_camera.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/media/soc_camera.h b/include/media/soc_camera.h index 218639f..831efff 100644 --- a/include/media/soc_camera.h +++ b/include/media/soc_camera.h @@ -104,6 +104,8 @@ struct soc_camera_link { int i2c_adapter_id; struct i2c_board_info *board_info; const char *module_name; + void *priv; + /* * For non-I2C devices platform platform has to provide methods to * add a device to the system and to remove