On Mon, Jun 07, 2010 at 09:26:40AM +0200, [email protected] wrote:
> Hello,
> 
> i try to get running the tps6507x-ts touchscreen driver on the Kevin Hilman
> Davinci kernel tree
> (git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci.git).
> 
> I enabled the following parts in the kernelconfig:
> 
> Device Drivers - Multifunction Device Drivers - TPS6507x Power Management /
> Touch Screen chips
> Device Drivers - Input device support - Event Interface
> Device Drivers - Input device support - Touchscreens - TPS6507x based
> touchscreens
> 
> 
> That gives a compile error : "can`t find" kzalloc and kfree!
> 
> After applying following patch the driver compiles.
This is already applied upstream.

Cheers,
Samuel.


 
> diff --git a/drivers/mfd/tps6507x.c b/drivers/mfd/tps6507x.c
> index dcddef0..dbaab1a 100644
> --- a/drivers/mfd/tps6507x.c
> +++ b/drivers/mfd/tps6507x.c
> @@ -20,6 +20,7 @@
>  #include <linux/i2c.h>
>  #include <linux/mfd/core.h>
>  #include <linux/mfd/tps6507x.h>
> +#include <linux/slab.h>
>  
>  static struct mfd_cell tps6507x_devs[] = {
>         {
> 
> 
> On runtime the kernel gives the following error:
> 
> tps6507x-ts: probe of tps6507x-ts failed with error -121
> 
> Any idea whats to do now?
> Thank you very much,
>  
> regards
>  
> Bastian.
>  
> P.S.
> Hardware:
> OMAP-L138 Evm-Board with ui-board

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to