Re: [RFC/PATCH 2/2] Triton Battery charger interface driver for OMAP3430

2008-06-23 Thread Felipe Balbi
On Fri, 20 Jun 2008 17:36:00 +0530 (IST), [EMAIL PROTECTED] wrote: +#ifdef CONFIG_TWL4030_BCI_BATTERY +extern int twl4030charger_usb_en(int enable); +#else +static inline int twl4030charger_usb_en(int enable) { return 0; } +#endif this should be in include/linux/i2c/twl4030.h you should

Re: [RFC/PATCH 2/2] Triton Battery charger interface driver for OMAP3430

2008-06-23 Thread Madhusudhan Chikkature
Hi Felipe, Thanks for the comments. I will fix it and resend the patch. Best regards, Madhu - Original Message - From: Felipe Balbi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: linux-omap@vger.kernel.org Sent: Monday, June 23, 2008 2:21 PM Subject: Re: [RFC/PATCH 2/2] Triton Battery

[RFC/PATCH 2/2] Triton Battery charger interface driver for OMAP3430

2008-06-20 Thread x0070977
From: Madhusudhan Chikkature [EMAIL PROTECTED] This patch updates the twl4030 usb driver to call the functionality supported by the TWL4030 battery charger interface driver to enable/disable battery charging upon cable attach/detach. Signed-off-by: Madhusudhan Chikkature [EMAIL PROTECTED] ---