mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-04 22:11:41 +00:00
Mark some private functions static in unused driver
The BQ24192 driver exports some functions that should be static. Let's mark them so, mostly so I don't keep finding them when I search through the code for common functions. Note that nothing in the ToT branch uses this module anyway. BUG=chrome-os-partner:23815 BRANCH=ToT TEST=make buildall -j Change-Id: I012111a2c9b9b84f0f3bfacc3bdc8804a83116a6 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/188179 Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
committed by
chrome-internal-fetch
parent
19bcc7f481
commit
cb8cfec66c
@@ -36,12 +36,12 @@ static const struct charger_info bq24192_charger_info = {
|
||||
static const int input_current_steps[] = {
|
||||
100, 150, 500, 900, 1200, 1500, 2000, 3000};
|
||||
|
||||
int bq24192_read(int reg, int *value)
|
||||
static int bq24192_read(int reg, int *value)
|
||||
{
|
||||
return i2c_read8(I2C_PORT_CHARGER, BQ24192_ADDR, reg, value);
|
||||
}
|
||||
|
||||
int bq24192_write(int reg, int value)
|
||||
static int bq24192_write(int reg, int value)
|
||||
{
|
||||
return i2c_write8(I2C_PORT_CHARGER, BQ24192_ADDR, reg, value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user