summaryrefslogtreecommitdiff
path: root/chip/host/usb_pd_phy.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/host/usb_pd_phy.c')
-rw-r--r--chip/host/usb_pd_phy.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/chip/host/usb_pd_phy.c b/chip/host/usb_pd_phy.c
index ba81b986ad..aa5f022f3e 100644
--- a/chip/host/usb_pd_phy.c
+++ b/chip/host/usb_pd_phy.c
@@ -1,8 +1,9 @@
-/* Copyright 2014 The Chromium OS Authors. All rights reserved.
+/* Copyright 2014 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+#include "builtin/assert.h"
#include "common.h"
#include "console.h"
#include "crc.h"
@@ -37,9 +38,9 @@ static struct pd_physical {
int verified_idx;
} pd_phy[CONFIG_USB_PD_PORT_MAX_COUNT];
-static const uint16_t enc4b5b[] = {
- 0x1E, 0x09, 0x14, 0x15, 0x0A, 0x0B, 0x0E, 0x0F, 0x12, 0x13, 0x16,
- 0x17, 0x1A, 0x1B, 0x1C, 0x1D};
+static const uint16_t enc4b5b[] = { 0x1E, 0x09, 0x14, 0x15, 0x0A, 0x0B,
+ 0x0E, 0x0F, 0x12, 0x13, 0x16, 0x17,
+ 0x1A, 0x1B, 0x1C, 0x1D };
/* Test utilities */
static void pd_test_reset_phy(int port)
@@ -216,7 +217,6 @@ int pd_test_tx_msg_verify_crc(int port)
return pd_test_tx_msg_verify_word(port, crc32_result());
}
-
/* Mock functions */
void pd_init_dequeue(int port)