Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753123AbZIYWT4 (ORCPT ); Fri, 25 Sep 2009 18:19:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752840AbZIYWTz (ORCPT ); Fri, 25 Sep 2009 18:19:55 -0400 Received: from acsinet11.oracle.com ([141.146.126.233]:51553 "EHLO acsinet11.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752839AbZIYWTx (ORCPT ); Fri, 25 Sep 2009 18:19:53 -0400 Message-ID: <4ABD4213.9010700@oracle.com> Date: Fri, 25 Sep 2009 15:20:03 -0700 From: Randy Dunlap User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 To: Stephen Rothwell CC: linux-next@vger.kernel.org, LKML , akpm , "Jean Delvare (PC drivers, core)" Subject: [PATCH -next] i2c: uses/select RT_MUTEXES References: <20090925133830.1ba29584.sfr@canb.auug.org.au> In-Reply-To: <20090925133830.1ba29584.sfr@canb.auug.org.au> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Source-IP: abhmt013.oracle.com [141.146.116.22] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090205.4ABD41D9.013C:SCFSTAT5015188,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1111 Lines: 30 From: Randy Dunlap i2c-core uses rt mutexes, so it needs to select that kconfig symbol since there is no prompt for it. ERROR: "rt_mutex_lock" [drivers/i2c/i2c-core.ko] undefined! ERROR: "__rt_mutex_init" [drivers/i2c/i2c-core.ko] undefined! ERROR: "rt_mutex_trylock" [drivers/i2c/i2c-core.ko] undefined! ERROR: "rt_mutex_unlock" [drivers/i2c/i2c-core.ko] undefined! Signed-off-by: Randy Dunlap --- drivers/i2c/Kconfig | 1 + 1 file changed, 1 insertion(+) --- linux-next-20090925.orig/drivers/i2c/Kconfig +++ linux-next-20090925/drivers/i2c/Kconfig @@ -5,6 +5,7 @@ menuconfig I2C tristate "I2C support" depends on HAS_IOMEM + select RT_MUTEXES ---help--- I2C (pronounce: I-square-C) is a slow serial bus protocol used in many micro controller applications and developed by Philips. SMBus, -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/