From patchwork Fri Feb 12 21:02:35 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 2715 Return-path: Envelope-to: mchehab@infradead.org Delivery-date: Fri, 12 Feb 2010 21:03:59 +0000 Received: from bombadil.infradead.org [18.85.46.34] by pedra with IMAP (fetchmail-6.3.6) for (single-drop); Fri, 12 Feb 2010 19:04:55 -0200 (BRST) Received: from vger.kernel.org ([209.132.180.67]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1Ng2gA-0005yc-Ug; Fri, 12 Feb 2010 21:03:59 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757773Ab0BLVDd (ORCPT + 1 other); Fri, 12 Feb 2010 16:03:33 -0500 Received: from rcsinet12.oracle.com ([148.87.113.124]:44271 "EHLO rcsinet12.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757609Ab0BLVD3 (ORCPT ); Fri, 12 Feb 2010 16:03:29 -0500 Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet12.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o1CL3G2m008124 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 12 Feb 2010 21:03:17 GMT Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o1CFxXfV030292; Fri, 12 Feb 2010 21:03:13 GMT Received: from abhmt001.oracle.com by acsmt354.oracle.com with ESMTP id 27400911266008557; Fri, 12 Feb 2010 13:02:37 -0800 Received: from chimera.site (/71.245.98.113) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 12 Feb 2010 13:02:36 -0800 Date: Fri, 12 Feb 2010 13:02:35 -0800 From: Randy Dunlap To: Stephen Rothwell , Mauro Carvalho Chehab Cc: linux-next@vger.kernel.org, LKML , linux-media@vger.kernel.org, Mocean Laboratories Subject: [PATCH -next] radio_timberdale: depends on I2c Message-Id: <20100212130235.d5874398.randy.dunlap@oracle.com> In-Reply-To: <20100212181304.a7bd9a63.sfr@canb.auug.org.au> References: <20100212181304.a7bd9a63.sfr@canb.auug.org.au> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.6.0 (GTK+ 2.16.6; x86_64-redhat-linux-gnu) Mime-Version: 1.0 X-Source-IP: acsmt355.oracle.com [141.146.40.155] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.4B75C214.004D:SCFMA4539814,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 RADIO_TIMBERDALE selects RADIO_SAA7706H, but RADIO_SAA7706H depends on I2C, so make RADIO_TIMBERDALE depend on I2C also; otherwise there are build errors: drivers/media/radio/saa7706h.c:139: error: implicit declaration of function 'i2c_master_send' drivers/media/radio/saa7706h.c:148: error: implicit declaration of function 'i2c_transfer' drivers/media/radio/saa7706h.c:372: error: implicit declaration of function 'i2c_check_functionality' drivers/media/radio/saa7706h.c:375: error: implicit declaration of function 'i2c_adapter_id' drivers/media/radio/saa7706h.c:438: error: implicit declaration of function 'i2c_add_driver' drivers/media/radio/saa7706h.c:443: error: implicit declaration of function 'i2c_del_driver' Signed-off-by: Randy Dunlap Cc: Mocean Laboratories --- drivers/media/radio/Kconfig | 1 + 1 file changed, 1 insertion(+) -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- linux-next-20100212.orig/drivers/media/radio/Kconfig +++ linux-next-20100212/drivers/media/radio/Kconfig @@ -444,6 +444,7 @@ config RADIO_TEF6862 config RADIO_TIMBERDALE tristate "Enable the Timberdale radio driver" depends on MFD_TIMBERDALE && VIDEO_V4L2 + depends on I2C # for RADIO_SAA7706H select RADIO_TEF6862 select RADIO_SAA7706H ---help---