diff options
author | Denis Brockus <dbrockus@chromium.org> | 2020-03-09 14:14:57 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-03-11 16:27:25 +0000 |
commit | c6b8f8a00149a75395f14aaaff5889b2c4eb5f99 (patch) | |
tree | 74b3b54a7afb224d4eab68cf82cbed8a9865b2df /baseboard/zork/variant_trembyle.c | |
parent | 5b86bf7592e4a27f505346913e6e1b072ef137d7 (diff) | |
download | chrome-ec-c6b8f8a00149a75395f14aaaff5889b2c4eb5f99.tar.gz |
trembyle: change set_mux calls to be board names
ps8802_set_mux and ps8818_set_mux were confusing
at the board level with the same names as the main
driver function names. So added board_ in front
BUG=none
BRANCH=none
TEST=make buildall -j
Signed-off-by: Denis Brockus <dbrockus@chromium.org>
Change-Id: I2123b0d11823b5a01e14a8efb58cf579dc513d2f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2095530
Reviewed-by: Edward Hill <ecgh@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'baseboard/zork/variant_trembyle.c')
-rw-r--r-- | baseboard/zork/variant_trembyle.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/baseboard/zork/variant_trembyle.c b/baseboard/zork/variant_trembyle.c index e2e8607dee..7abba856fd 100644 --- a/baseboard/zork/variant_trembyle.c +++ b/baseboard/zork/variant_trembyle.c @@ -109,7 +109,8 @@ void mst_hpd_interrupt(enum ioex_signal signal) * PS8802 set mux tuning. * Adds in board specific gain and DP lane count configuration */ -static int ps8802_mux_set(const struct usb_mux *me, mux_state_t mux_state) +static int board_ps8802_mux_set(const struct usb_mux *me, + mux_state_t mux_state) { int rv = EC_SUCCESS; @@ -155,7 +156,8 @@ static int ps8802_mux_set(const struct usb_mux *me, mux_state_t mux_state) * PS8818 set mux tuning. * Adds in board specific gain and DP lane count configuration */ -static int ps8818_mux_set(const struct usb_mux *me, mux_state_t mux_state) +static int board_ps8818_mux_set(const struct usb_mux *me, + mux_state_t mux_state) { int rv = EC_SUCCESS; @@ -404,14 +406,14 @@ const struct usb_mux usbc1_ps8802 = { .i2c_port = I2C_PORT_TCPC1, .i2c_addr_flags = PS8802_I2C_ADDR_FLAGS, .driver = &ps8802_usb_mux_driver, - .board_set = &ps8802_mux_set, + .board_set = &board_ps8802_mux_set, }; const struct usb_mux usbc1_ps8818 = { .usb_port = USBC_PORT_C1, .i2c_port = I2C_PORT_TCPC1, .i2c_addr_flags = PS8818_I2C_ADDR_FLAGS, .driver = &ps8818_usb_retimer_driver, - .board_set = &ps8818_mux_set, + .board_set = &board_ps8818_mux_set, }; struct usb_mux usbc1_amd_fp5_usb_mux = { .usb_port = USBC_PORT_C1, |