Files
OpenCellular/include/extpower.h
Randall Spangler fe9e3bf565 Remove obsolete board-specific code
Now that we've removed boards from ToT, also delete board-specific
code used only by the removed boards.

There are still more things to remove (unused charging chips, LED
drivers, COMx support).  More CLs coming.

BUG=chromium:493866
BRANCH=none
TEST=make buildall -j

Change-Id: Ie6bdeaf96e61cadd77e3f6336c73b9b54ff4eabb
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/276524
Reviewed-by: Alec Berg <alecaberg@chromium.org>
2015-06-10 18:24:05 +00:00

26 lines
595 B
C

/* Copyright (c) 2013 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.
*/
/* External power detection API for Chrome EC */
#ifndef __CROS_EC_EXTPOWER_H
#define __CROS_EC_EXTPOWER_H
#include "common.h"
/**
* Return non-zero if external power is present.
*/
int extpower_is_present(void);
/**
* Interrupt handler for external power GPIOs.
*
* @param signal Signal which triggered the interrupt.
*/
void extpower_interrupt(enum gpio_signal signal);
#endif /* __CROS_EC_EXTPOWER_H */