From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261362AbVF3WRo (ORCPT ); Thu, 30 Jun 2005 18:17:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263050AbVF3WRn (ORCPT ); Thu, 30 Jun 2005 18:17:43 -0400 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:36612 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S261362AbVF3WRb (ORCPT ); Thu, 30 Jun 2005 18:17:31 -0400 Date: Fri, 1 Jul 2005 00:17:27 +0200 From: Adrian Bunk To: Sebastian Pigulak Cc: linux-kernel@vger.kernel.org, Sebastian Witt , greg@kroah.com, khali@linux-fr.org, lm-sensors@lm-sensors.org Subject: [2.6 patch] SENSORS_ATXP1 must select I2C_SENSOR Message-ID: <20050630221727.GE27478@stusta.de> References: <20050630234709.1ad1512a@DreaM.darnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050630234709.1ad1512a@DreaM.darnet> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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.