summaryrefslogtreecommitdiff
path: root/board/coral/board.c
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2018-03-08 10:19:33 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-03-08 17:01:13 -0800
commite0d3bcee02d5ebcdac97a7e58767ee3b85b1d79f (patch)
treee87749bdccc098e50e26d1b1c346085acf568942 /board/coral/board.c
parenteb50aaded727acfaf6b8521bde325976f374a3a2 (diff)
downloadchrome-ec-e0d3bcee02d5ebcdac97a7e58767ee3b85b1d79f.tar.gz
cleanup: remove incorrect comment
The port_address field is used in the driver. Also making array declaration consistent with other parts of the file. BRANCH=none BUG=none TEST=none Change-Id: I43c72182c6afefbdbb7286918326b7ea6f92c7d7 Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/955940 Reviewed-by: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'board/coral/board.c')
-rw-r--r--board/coral/board.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/coral/board.c b/board/coral/board.c
index 1b0a8044c3..4ba754721b 100644
--- a/board/coral/board.c
+++ b/board/coral/board.c
@@ -287,12 +287,12 @@ static int ps8751_tune_mux(const struct usb_mux *mux)
}
struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_COUNT] = {
- {
- .port_addr = USB_PD_PORT_ANX74XX, /* don't care / unused */
+ [USB_PD_PORT_ANX74XX] = {
+ .port_addr = USB_PD_PORT_ANX74XX,
.driver = &anx74xx_tcpm_usb_mux_driver,
.hpd_update = &anx74xx_tcpc_update_hpd_status,
},
- {
+ [USB_PD_PORT_PS8751] = {
.port_addr = USB_PD_PORT_PS8751,
.driver = &tcpci_tcpm_usb_mux_driver,
.hpd_update = &ps8xxx_tcpc_update_hpd_status,