<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">From bunk@stusta.de Thu Jun 30 15:38:24 2005
Date: Fri, 1 Jul 2005 00:17:27 +0200
From: Adrian Bunk &lt;bunk@stusta.de&gt;
To: Sebastian Pigulak &lt;dreamin@interia.pl&gt;
Cc: Sebastian Witt &lt;se.witt@gmx.net&gt;, &lt;khali@linux-fr.org&gt;
Subject: I2C: SENSORS_ATXP1 must select I2C_SENSOR
Message-ID: &lt;20050630221727.GE27478@stusta.de&gt;

On Thu, Jun 30, 2005 at 11:47:09PM +0200, Sebastian Pigulak wrote:
&gt; I've tried patching linux-2.6.13-RC1 with patch-2.6.13-rc1-git2 and
&gt; building atxp1(it allows Vcore voltage changing) into the kernel.
&gt; Unfortunately, the kernel compilation stops with:
&gt; 
&gt; LD      init/built-in.o
&gt; LD      vmlinux
&gt; drivers/built-in.o(.text+0x92298): In function `atxp1_detect':
&gt; : undefined reference to `i2c_which_vrm'
&gt; drivers/built-in.o(.text+0x921ae): In function `atxp1_attach_adapter':
&gt; : undefined reference to `i2c_detect'
&gt; make: *** [vmlinux] B??d 1
&gt; ==&gt; ERROR: Build Failed.  Aborting... 
&gt; 
&gt; Could someone have a look at the module and possibly fix it up?


SENSORS_ATXP1 must select I2C_SENSOR.

Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

---
 drivers/i2c/chips/Kconfig |    1 +
 1 files changed, 1 insertion(+)

--- gregkh-2.6.orig/drivers/i2c/chips/Kconfig	2005-07-01 14:44:07.000000000 -0700
+++ gregkh-2.6/drivers/i2c/chips/Kconfig	2005-07-01 14:44:14.000000000 -0700
@@ -80,6 +80,7 @@
 config SENSORS_ATXP1
 	tristate "Attansic ATXP1 VID controller"
 	depends on I2C &amp;&amp; EXPERIMENTAL
+	select I2C_SENSOR
 	help
 	  If you say yes here you get support for the Attansic ATXP1 VID
 	  controller.
</pre></body></html>