From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263099AbVF3XCI (ORCPT ); Thu, 30 Jun 2005 19:02:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263096AbVF3XCI (ORCPT ); Thu, 30 Jun 2005 19:02:08 -0400 Received: from smtp2.poczta.interia.pl ([213.25.80.232]:50446 "EHLO smtp.poczta.interia.pl") by vger.kernel.org with ESMTP id S263099AbVF3XBq (ORCPT ); Thu, 30 Jun 2005 19:01:46 -0400 Date: Fri, 1 Jul 2005 01:01:36 +0200 From: Sebastian Pigulak To: Adrian Bunk , linux-kernel@vger.kernel.org Subject: Re: [2.6 patch] SENSORS_ATXP1 must select I2C_SENSOR Message-ID: <20050701010136.4daf2687@DreaM.darnet> In-Reply-To: <20050630221727.GE27478@stusta.de> References: <20050630234709.1ad1512a@DreaM.darnet> <20050630221727.GE27478@stusta.de> Organization: arch X-Mailer: Sylpheed-Claws 1.9.9 (GTK+ 2.6.8; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EMID: 9a08d064 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 1 Jul 2005 00:17:27 +0200 Adrian Bunk wrote: > On Thu, Jun 30, 2005 at 11:47:09PM +0200, Sebastian Pigulak wrote: > > > Hey, > > Hi Sebastian, > > > I've tried patching linux-2.6.13-RC1 with patch-2.6.13-rc1-git2 and building atxp1(it allows Vcore voltage changing) into the kernel. Unfortunately, the kernel compilation stops with: > > > > LD init/built-in.o > > LD vmlinux > > drivers/built-in.o(.text+0x92298): In function `atxp1_detect': > > : undefined reference to `i2c_which_vrm' > > drivers/built-in.o(.text+0x921ae): In function `atxp1_attach_adapter': > > : undefined reference to `i2c_detect' > > make: *** [vmlinux] B??d 1 > > ==> ERROR: Build Failed. Aborting... > > > > Could someone have a look at the module and possibly fix it up? > > The patch below should fix it. > > cu > Adrian > > > <-- snip --> > > > SENSORS_ATXP1 must select I2C_SENSOR. > > Signed-off-by: Adrian Bunk > > --- linux-2.6.12-mm2-full/drivers/i2c/chips/Kconfig.old 2005-06-30 23:56:34.000000000 +0200 > +++ linux-2.6.12-mm2-full/drivers/i2c/chips/Kconfig 2005-06-30 23:57:08.000000000 +0200 > @@ -80,6 +80,7 @@ > config SENSORS_ATXP1 > tristate "Attansic ATXP1 VID controller" > depends on I2C && EXPERIMENTAL > + select I2C_SENSOR > help > If you say yes here you get support for the Attansic ATXP1 VID > controller. > Thanks a lot for this patch. Now the kernel compiles just fine. ---------------------------------------------------------------------- Jak powstaje auto? >>> http://link.interia.pl/f1898