summaryrefslogtreecommitdiff
path: root/driver/bc12/pi3usb9201.h
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2019-07-30 10:35:39 -0600
committerCommit Bot <commit-bot@chromium.org>2019-07-30 23:16:03 +0000
commit671c261e3d70ac4def1c4a2360cdbccfbbe44bbd (patch)
tree6bad5ff20c7b05ad5f6a57799a55dc23f39891bb /driver/bc12/pi3usb9201.h
parent8dcd9a736b7da6c72b468124c3febbe0ede75a4e (diff)
downloadchrome-ec-671c261e3d70ac4def1c4a2360cdbccfbbe44bbd.tar.gz
pi3usb9201: Fix typo in structure name.
The structure used by board files to define the I2C connections to the PI3USB9201 driver had digits in the part number transposed. BUG=b:138650914 BRANCH=none TEST=make buildall Change-Id: Iaa7897a35f3172dd71fccca4e203b1d0e6a18ef7 Signed-off-by: Keith Short <keithshort@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1725959 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Edward Hill <ecgh@chromium.org> Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'driver/bc12/pi3usb9201.h')
-rw-r--r--driver/bc12/pi3usb9201.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/bc12/pi3usb9201.h b/driver/bc12/pi3usb9201.h
index 3a94fdf5ad..d9ee80a0d0 100644
--- a/driver/bc12/pi3usb9201.h
+++ b/driver/bc12/pi3usb9201.h
@@ -31,7 +31,7 @@
#define PI3USB9201_REG_HOST_STS_DEV_PLUG BIT(1)
#define PI3USB9201_REG_HOST_STS_DEV_UNPLUG BIT(2)
-struct pi3usb2901_config_t {
+struct pi3usb9201_config_t {
const int i2c_port;
const int i2c_addr_flags;
};
@@ -48,5 +48,5 @@ enum pi3usb9201_mode {
};
/* Configuration struct defined at board level */
-extern const struct pi3usb2901_config_t pi3usb2901_bc12_chips[];
+extern const struct pi3usb9201_config_t pi3usb9201_bc12_chips[];