diff options
author | Jett Rink <jettrink@chromium.org> | 2018-03-08 10:19:33 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-03-08 17:01:13 -0800 |
commit | e0d3bcee02d5ebcdac97a7e58767ee3b85b1d79f (patch) | |
tree | e87749bdccc098e50e26d1b1c346085acf568942 /board/grunt | |
parent | eb50aaded727acfaf6b8521bde325976f374a3a2 (diff) | |
download | chrome-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/grunt')
-rw-r--r-- | board/grunt/board.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/grunt/board.c b/board/grunt/board.c index b9f171905c..d87f074e09 100644 --- a/board/grunt/board.c +++ b/board/grunt/board.c @@ -173,12 +173,12 @@ uint16_t tcpc_get_alert_status(void) } 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, |