Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755696AbYHTASG (ORCPT ); Tue, 19 Aug 2008 20:18:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753290AbYHTARw (ORCPT ); Tue, 19 Aug 2008 20:17:52 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:53233 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753448AbYHTARv (ORCPT ); Tue, 19 Aug 2008 20:17:51 -0400 Date: Tue, 19 Aug 2008 17:16:58 -0700 From: Andrew Morton To: Randy Dunlap Cc: sfr@canb.auug.org.au, sam@ravnborg.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, sameo@openedhand.com Subject: Re: linux-next: Tree for August 19 (mfd/ucb) Message-Id: <20080819171658.4cdb8cd9.akpm@linux-foundation.org> In-Reply-To: <20080819170517.04d91de8.randy.dunlap@oracle.com> References: <20080819185454.d9c74915.sfr@canb.auug.org.au> <20080819170517.04d91de8.randy.dunlap@oracle.com> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.20; i486-pc-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: 3203 Lines: 91 On Tue, 19 Aug 2008 17:05:17 -0700 Randy Dunlap wrote: > drivers/mfd/ucb1400 is a sound (AC97) driver, so it should depend > on AC97_BUS, like in the patch below. However, with that patch in > place, oldconfig goes belly up on me: > > > linux-next-20080819> make ARCH=x86_64 O=X64 V=1 oldconfig > make -C /local/linsrc/linux-next-20080819/X64 \ > KBUILD_SRC=/local/linsrc/linux-next-20080819 \ > KBUILD_EXTMOD="" -f /local/linsrc/linux-next-20080819/Makefile \ > oldconfig > make -f /local/linsrc/linux-next-20080819/scripts/Makefile.build obj=scripts/basic > /bin/sh /local/linsrc/linux-next-20080819/scripts/mkmakefile \ > /local/linsrc/linux-next-20080819 /local/linsrc/linux-next-20080819/X64 2 6 > GEN /local/linsrc/linux-next-20080819/X64/Makefile > mkdir -p include/linux include/config > make -f /local/linsrc/linux-next-20080819/scripts/Makefile.build obj=scripts/kconfig oldconfig > scripts/kconfig/conf -o arch/x86/Kconfig > make[2]: *** [oldconfig] Segmentation fault (core dumped) > make[1]: *** [oldconfig] Error 2 > make: *** [sub-make] Error 2 > > > > --- > From: Randy Dunlap > > mfd/ucb1400 sound driver uses/depends on AC97_BUS: > > ERROR: "ac97_bus_type" [drivers/mfd/ucb1400_core.ko] undefined! > > > Signed-off-by: Randy Dunlap > cc: Samuel Ortiz > > --- > drivers/mfd/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > --- linux-next-20080819.orig/drivers/mfd/Kconfig > +++ linux-next-20080819/drivers/mfd/Kconfig > @@ -52,6 +52,7 @@ config HTC_PASIC3 > > config UCB1400_CORE > tristate "Philips UCB1400 Core driver" > + depends on AC97_BUS > help > This enables support for the Philips UCB1400 core functions. > The UCB1400 is an AC97 audio codec. And this: From: Andrew Morton ia64 allmodconfig: In file included from include/linux/ucb1400.h:27, from drivers/mfd/ucb1400_core.c:24: include/asm-generic/gpio.h: In function `gpio_get_value_cansleep': include/asm-generic/gpio.h:147: error: implicit declaration of function `gpio_get_value' include/asm-generic/gpio.h: In function `gpio_set_value_cansleep': include/asm-generic/gpio.h:153: error: implicit declaration of function `gpio_set_value' drivers/mfd/ucb1400_core.c: At top level: Cc: Samuel Ortiz Signed-off-by: Andrew Morton --- drivers/mfd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff -puN drivers/mfd/Kconfig~drivers-mfd-ucb1400_corec-needs-gpio drivers/mfd/Kconfig --- a/drivers/mfd/Kconfig~drivers-mfd-ucb1400_corec-needs-gpio +++ a/drivers/mfd/Kconfig @@ -53,6 +53,7 @@ config HTC_PASIC3 config UCB1400_CORE tristate "Philips UCB1400 Core driver" depends on AC97_BUS + depends on GPIOLIB help This enables support for the Philips UCB1400 core functions. The UCB1400 is an AC97 audio codec. _ -- 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/