summaryrefslogtreecommitdiff
path: root/core/cortex-m0
diff options
context:
space:
mode:
authorEmil Lundmark <lndmrk@chromium.org>2018-05-22 17:51:25 +0200
committerchrome-bot <chrome-bot@chromium.org>2018-05-29 06:02:18 -0700
commitcc7889bfaec9243ff35b6a366f6f2c7c65c33a13 (patch)
tree984578b38a7e132dc898d26798f2e3391f66782d /core/cortex-m0
parent3eb6cd87a1873ee281a783cb1db405caeb78077f (diff)
downloadchrome-ec-cc7889bfaec9243ff35b6a366f6f2c7c65c33a13.tar.gz
usb_port_power: Use same name for mode set function
Dumb USB ports do not have the same notion of charge mode as smart ports. However, the header common/usb_charge.h declares a function for changing charge mode that the dumb USB port power implementation does not define. Instead, it defines a similar function with a different name, albeit with other allowed values for its second parameter. This patch makes the names the same so the function can be used by simply including the aforementioned header file. BUG=none BRANCH=fizz TEST=emerge-fizz chromeos-ec Change-Id: I87863f87f32f538cc1c723d9299afcc7353e1852 Signed-off-by: Emil Lundmark <lndmrk@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1069272 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'core/cortex-m0')
0 files changed, 0 insertions, 0 deletions