From patchwork Mon May 11 16:36:14 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 23017 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 n4BGYogF018311 for ; Mon, 11 May 2009 16:34:50 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753556AbZEKQer (ORCPT ); Mon, 11 May 2009 12:34:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753279AbZEKQeq (ORCPT ); Mon, 11 May 2009 12:34:46 -0400 Received: from acsinet12.oracle.com ([141.146.126.234]:53226 "EHLO acsinet12.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752917AbZEKQep (ORCPT ); Mon, 11 May 2009 12:34:45 -0400 Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n4BGY8T4024939 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 11 May 2009 16:34:10 GMT Received: from abhmt005.oracle.com (abhmt005.oracle.com [141.146.116.14]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n4BGYIsR000321; Mon, 11 May 2009 16:34:18 GMT Received: from [192.168.1.4] (/71.182.83.218) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 11 May 2009 09:34:15 -0700 Message-ID: <4A0853FE.6060709@oracle.com> Date: Mon, 11 May 2009 09:36:14 -0700 From: Randy Dunlap Organization: Oracle Linux Engineering User-Agent: Thunderbird 2.0.0.6 (X11/20070801) MIME-Version: 1.0 To: Stephen Rothwell CC: linux-next@vger.kernel.org, LKML , g.liakhovetski@gmx.de, linux-media@vger.kernel.org, Mauro Carvalho Chehab Subject: [PATCH -next] soc_camera: depends on I2C References: <20090511161442.3e9d9cb9.sfr@canb.auug.org.au> In-Reply-To: <20090511161442.3e9d9cb9.sfr@canb.auug.org.au> X-Source-IP: abhmt005.oracle.com [141.146.116.14] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010207.4A085388.00D8:SCFSTAT5015188,ss=1,fgs=0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Randy Dunlap soc_camera uses i2c_*() functions and has build errors when CONFIG_I2C=n: ERROR: "i2c_new_device" [drivers/media/video/soc_camera.ko] undefined! ERROR: "i2c_get_adapter" [drivers/media/video/soc_camera.ko] undefined! ERROR: "i2c_put_adapter" [drivers/media/video/soc_camera.ko] undefined! ERROR: "i2c_unregister_device" [drivers/media/video/soc_camera.ko] undefined! Signed-off-by: Randy Dunlap --- drivers/media/video/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20090511.orig/drivers/media/video/Kconfig +++ linux-next-20090511/drivers/media/video/Kconfig @@ -694,7 +694,7 @@ config VIDEO_CAFE_CCIC config SOC_CAMERA tristate "SoC camera support" - depends on VIDEO_V4L2 && HAS_DMA + depends on VIDEO_V4L2 && HAS_DMA && I2C select VIDEOBUF_GEN help SoC Camera is a common API to several cameras, not connecting