Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753646Ab0HKSPd (ORCPT ); Wed, 11 Aug 2010 14:15:33 -0400 Received: from zone0.gcu-squad.org ([212.85.147.21]:8246 "EHLO services.gcu-squad.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752617Ab0HKSPb (ORCPT ); Wed, 11 Aug 2010 14:15:31 -0400 Date: Wed, 11 Aug 2010 20:15:11 +0200 From: Jean Delvare To: guenter.roeck@ericsson.com Cc: Randy Dunlap , Stephen Rothwell , akpm , "linux-next@vger.kernel.org" , LKML , "lm-sensors@lm-sensors.org" Subject: Re: [lm-sensors] [PATCH -next] hwmon: jc42 depends on I2C Message-ID: <20100811201511.04216a64@hyperion.delvare> In-Reply-To: <1281548611.5745.287.camel@groeck-laptop> References: <20100811140009.6ff33109.sfr@canb.auug.org.au> <20100811103511.41428e62.randy.dunlap@oracle.com> <1281548611.5745.287.camel@groeck-laptop> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.14.4; i586-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1129 Lines: 25 On Wed, 11 Aug 2010 10:43:31 -0700, Guenter Roeck wrote: > On Wed, 2010-08-11 at 13:35 -0400, Randy Dunlap wrote: > > From: Randy Dunlap > > > > jc42 uses i2c interfaces, so it should depend on I2C. > > > > drivers/hwmon/jc42.c:426: error: implicit declaration of function 'i2c_check_functionality' > > drivers/hwmon/jc42.c:521: error: implicit declaration of function 'i2c_smbus_read_word_data' > > drivers/hwmon/jc42.c:529: error: implicit declaration of function 'i2c_smbus_write_word_data' > > drivers/hwmon/jc42.c:580: error: implicit declaration of function 'i2c_add_driver' > > drivers/hwmon/jc42.c:585: error: implicit declaration of function 'i2c_del_driver' > > > > Signed-off-by: Randy Dunlap > > Cc: lm-sensors@lm-sensors.org > Acked-by: Guenter Roeck Applied, thanks. -- Jean Delvare -- 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/