[PATCH]Re: atxp1 module not compiling; needs I2C_SENSOR

From: Prakash Punnoor
Date: Thu Jun 30 2005 - 17:23:34 EST


Sebastian Pigulak schrieb:
> Hey,
>
> 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?

Try attached patch. (Works fine for me then.)

Cheers,

Prakash

Signed-off-by: Prakash Punnoor <prakash@xxxxxxxxxx>

--- drivers/i2c/chips/Kconfig~ 2005-06-29 11:06:01.000000000 +0200
+++ drivers/i2c/chips/Kconfig 2005-07-01 00:17:34.972426160 +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.
--- drivers/i2c/chips/Kconfig~ 2005-06-29 11:06:01.000000000 +0200
+++ drivers/i2c/chips/Kconfig 2005-07-01 00:17:34.972426160 +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.

Attachment: signature.asc
Description: OpenPGP digital signature