From 6ff9b30755ad8eb875ba63aeffb0ac8807800871 Mon Sep 17 00:00:00 2001 From: Will McVicker Date: Mon, 9 Mar 2020 13:41:15 -0700 Subject: [PATCH] ANDROID: GKI: add a USB TypeC vendor field for ABI compat This ABI difference was introduced by commit 6e7065617217 ("tcpm: Add support for VPD detection by a DRP port"). Add the struct field for ABI compatibility for TPCM vendor module support. Signed-off-by: Will McVicker Bug: 150877929 Change-Id: I036893d5f149cfe1314b45c6308888dcfc3f417f --- include/linux/usb/typec.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/usb/typec.h b/include/linux/usb/typec.h index 7df4ecabc78a..27a6fc7c35ea 100644 --- a/include/linux/usb/typec.h +++ b/include/linux/usb/typec.h @@ -74,6 +74,7 @@ enum typec_orientation { * @id_header: ID Header VDO * @cert_stat: Cert Stat VDO * @product: Product VDO + * @product_type: Product type VDO * * USB power delivery Discover Identity command response data. * @@ -84,6 +85,7 @@ struct usb_pd_identity { u32 id_header; u32 cert_stat; u32 product; + u32 product_type; }; int typec_partner_set_identity(struct typec_partner *partner);