Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753844Ab2HCT5f (ORCPT ); Fri, 3 Aug 2012 15:57:35 -0400 Received: from zoneX.GCU-Squad.org ([194.213.125.0]:26317 "EHLO services.gcu-squad.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753447Ab2HCT5e (ORCPT ); Fri, 3 Aug 2012 15:57:34 -0400 Date: Fri, 3 Aug 2012 21:57:17 +0200 From: Jean Delvare To: Randy Dunlap Cc: Stephen Rothwell , linux-next@vger.kernel.org, LKML , Mark Studebaker , linux-i2c@vger.kernel.org Subject: Re: linux-next: Tree for Aug 3 (drivers/i2c/busses/i2c-i801.c) Message-ID: <20120803215717.31376eb7@endymion.delvare> In-Reply-To: <501C0952.5050609@xenotime.net> References: <20120803135110.0ba0e51758021b6a4ed9d1e9@canb.auug.org.au> <501C0952.5050609@xenotime.net> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.7; x86_64-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: 1639 Lines: 38 Hi Randy, On Fri, 03 Aug 2012 10:24:34 -0700, Randy Dunlap wrote: > on x86_64: > > when CONFIG_GPIOLIB is not enabled: > > drivers/i2c/busses/i2c-i801.c: In function 'match_gpio_chip_by_label': > drivers/i2c/busses/i2c-i801.c:1011:21: error: dereferencing pointer to incomplete type > drivers/i2c/busses/i2c-i801.c: In function 'i801_add_mux': > drivers/i2c/busses/i2c-i801.c:1028:2: error: implicit declaration of function 'gpiochip_find' > drivers/i2c/busses/i2c-i801.c:1028:7: warning: assignment makes pointer from integer without a cast > drivers/i2c/busses/i2c-i801.c:1047:27: error: dereferencing pointer to incomplete type > drivers/i2c/busses/i2c-i801.c: In function 'match_gpio_chip_by_label': > drivers/i2c/busses/i2c-i801.c:1012:1: warning: control reaches end of non-void function Good catch, thanks for reporting. I'll fold the following in the offending patch, that should fix it: --- linux-3.6-rc0.orig/drivers/i2c/busses/Kconfig 2012-08-03 21:51:51.000000000 +0200 +++ linux-3.6-rc0/drivers/i2c/busses/Kconfig 2012-08-03 21:52:18.090537018 +0200 @@ -80,6 +80,7 @@ config I2C_I801 tristate "Intel 82801 (ICH/PCH)" depends on PCI select CHECK_SIGNATURE if X86 && DMI + select GPIOLIB if I2C_MUX help If you say yes to this option, support will be included for the Intel 801 family of mainboard I2C interfaces. Specifically, the following -- 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/