blob: 7371583cd8f14e4f5e79a5af5909dc926429265b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* Copyright 2016 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* Detect what adapter is connected */
#ifndef __CROS_CHARGER_DETECT_H
#define __CROS_CHARGER_DETECT_H
/*
* Get attached device type.
*
* @return CHARGE_SUPPLIER_BC12_* or 0 if the device type was not detected
*/
int charger_detect_get_device_type(void);
#endif /* __CROS_CHARGER_DETECT_H */
|