mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 18:25:05 +00:00
cleanup: nyan: remove unnecessary dependence to pmu_tpschrome.h
Nyan uses common/charge_state instead. So, fix the dependence. Since snow/spring/pit are using common/pmu_tps65090_charger, keep them. BUG=None BRANCH=Nyan TEST=build and works fine on Nyan 3.2 Change-Id: I985f7980578ac22602b1fbffa51edf039078bc05 Signed-off-by: Louis Yung-Chieh Lo <yjlou@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/186337 Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
committed by
chrome-internal-fetch
parent
e7e0cf2cae
commit
e43074ebcf
@@ -12,7 +12,6 @@
|
||||
#include "i2c.h"
|
||||
#include "keyboard_raw.h"
|
||||
#include "lid_switch.h"
|
||||
#include "pmu_tpschrome.h"
|
||||
#include "power.h"
|
||||
#include "power_button.h"
|
||||
#include "power.h"
|
||||
|
||||
@@ -125,6 +125,11 @@ struct charge_state_context {
|
||||
*/
|
||||
enum charge_state charge_get_state(void);
|
||||
|
||||
/**
|
||||
* Return non-zero if battery is so low we want to keep AP off.
|
||||
*/
|
||||
int charge_keep_power_off(void);
|
||||
|
||||
/**
|
||||
* Return current charge state flags (CHARGE_FLAG_*)
|
||||
*/
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "charge_state.h"
|
||||
#include "chipset.h" /* This module implements chipset functions too */
|
||||
#include "clock.h"
|
||||
#include "common.h"
|
||||
@@ -36,7 +37,6 @@
|
||||
#include "power.h"
|
||||
#include "power_button.h"
|
||||
#include "power_led.h"
|
||||
#include "pmu_tpschrome.h"
|
||||
#include "system.h"
|
||||
#include "task.h"
|
||||
#include "timer.h"
|
||||
|
||||
Reference in New Issue
Block a user