mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 17:11:42 +00:00
Making room for a new charge_state implementation. BRANCH=ToT BUG=chrome-os-partner:23776 TEST=make buildall -j No new functionality, just renaming some files. Change-Id: I80ce861f09129a518e180cac20d32e867a93cd46 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/190852 Reviewed-by: Randall Spangler <rspangler@chromium.org>
27 lines
687 B
C
27 lines
687 B
C
/* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
#ifndef __CROS_EC_CHARGE_STATE_H
|
|
#define __CROS_EC_CHARGE_STATE_H
|
|
|
|
#include "common.h"
|
|
|
|
/* Stuff that's common to all charger implementations can go here. */
|
|
|
|
|
|
/* Pick the right implementation */
|
|
#ifdef CONFIG_CHARGER_V1
|
|
#ifdef CONFIG_CHARGER_V2
|
|
#error "Choose either CONFIG_CHARGER_V1 or CONFIG_CHARGER_V2, not both"
|
|
#else
|
|
#include "charge_state_v1.h"
|
|
#endif
|
|
#else /* not V1 */
|
|
#ifdef CONFIG_CHARGER_V2
|
|
#include "charge_state_v2.h"
|
|
#endif
|
|
#endif /* CONFIG_CHARGER_V1 */
|
|
|
|
#endif /* __CROS_EC_CHARGE_STATE_H */
|