r3209 - trunk/src/target/u-boot/patches

laforge at sita.openmoko.org laforge at sita.openmoko.org
Wed Oct 17 20:30:33 CEST 2007


Author: laforge
Date: 2007-10-17 20:30:27 +0200 (Wed, 17 Oct 2007)
New Revision: 3209

Modified:
   trunk/src/target/u-boot/patches/uboot-gta02.patch
Log:
make GTA02 pcf50633 changes compile again


Modified: trunk/src/target/u-boot/patches/uboot-gta02.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-gta02.patch	2007-10-17 14:46:20 UTC (rev 3208)
+++ trunk/src/target/u-boot/patches/uboot-gta02.patch	2007-10-17 18:30:27 UTC (rev 3209)
@@ -515,7 +515,7 @@
 +const char *neo1973_get_charge_status(void)
 +{
 +	/* FIXME */
-+	return pcf50633_charger_state(void);
++	return pcf50633_charger_state();
 +}
 +
 +int neo1973_set_charge_mode(enum neo1973_charger_cmd cmd)
@@ -1322,7 +1322,7 @@
 +	return pcf50633_reg_set_bit_mask(PCF50633_REG_MBCC7, 0x03, val);
 +}
 +
-+static const char *charger_states = {
++static const char *charger_states[] = {
 +	[0]	= "play_only",
 +	[1]	= "usb_precharge",
 +	[2]	= "usb_precharge_wait",





More information about the commitlog mailing list