power: msm_charger: control system power

Some chargers can control their current supply for the system. Provide
facility in the msm_charger to choose which charger supplies system
current. It is guaranteed that start charging will always be called
on a charger that has been previously been asked to provide system
current.

Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
diff --git a/include/linux/msm-charger.h b/include/linux/msm-charger.h
index 1e4d479..14ffae31 100644
--- a/include/linux/msm-charger.h
+++ b/include/linux/msm-charger.h
@@ -59,6 +59,9 @@
 			       int chg_voltage, int chg_current);
 	int (*stop_charging) (struct msm_hardware_charger *hw_chg);
 	int (*charging_switched) (struct msm_hardware_charger *hw_chg);
+	void (*start_system_current) (struct msm_hardware_charger *hw_chg,
+							int chg_current);
+	void (*stop_system_current) (struct msm_hardware_charger *hw_chg);
 
 	void *charger_private;	/* used by the msm_charger.c */
 };