Re: [PATCH v3] Input: tsc2005 - Add support for tsc2004

From: Arnd Bergmann
Date: Thu Oct 29 2015 - 17:46:48 EST

On Thursday 29 October 2015 09:22:37 Michael Welling wrote:
> >
> > All errors (new ones prefixed by >>):
> >
> > drivers/built-in.o: In function `tsc2005_cmd':
> > >> tsc200x-core.c:(.text+0x2ae07f): undefined reference to `i2c_smbus_write_byte'
> Argh!
> How do I fix this one?

Move all the I2C specific code into the tsc2004.c file and remove the
#ifdef. The problem is that tsc200x-core.c is used as built-in when
TOUCHSCREEN_TSC2005=y and I2C=m, so it can't call functions that are
defined in i2c-core.c.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at