From: <far...@us...> - 2006-10-18 17:25:19
|
Revision: 632 http://svn.sourceforge.net/hackndev/?rev=632&view=rev Author: farcaller Date: 2006-10-18 10:25:05 -0700 (Wed, 18 Oct 2006) Log Message: ----------- palmt3: exported charging status interface Modified Paths: -------------- linux4palm/linux/trunk/drivers/i2c/chips/tps65010.c Modified: linux4palm/linux/trunk/drivers/i2c/chips/tps65010.c =================================================================== --- linux4palm/linux/trunk/drivers/i2c/chips/tps65010.c 2006-10-18 07:50:05 UTC (rev 631) +++ linux4palm/linux/trunk/drivers/i2c/chips/tps65010.c 2006-10-18 17:25:05 UTC (rev 632) @@ -679,6 +679,12 @@ /*-------------------------------------------------------------------------*/ +int tps65010_get_charging(void) +{ + return the_tps->charging; +} +EXPORT_SYMBOL(tps65010_get_charging); + /* Draw from VBUS: * 0 mA -- DON'T DRAW (might supply power instead) * 100 mA -- usb unit load (slowest charge rate) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |