From 5134c3ba7c8963355e84ffdde60bb6b57582bf13 Mon Sep 17 00:00:00 2001 From: "surong.pang" Date: Fri, 1 Apr 2022 14:26:18 +0800 Subject: [PATCH] ANDROID: USB: Add vendor specified variables to phy.h This data is used by Android vendor for specific purpose. Bug: 227706139 Signed-off-by: Surong Pang Change-Id: I8aff33d894aad790474375eb1d897207e4964d3c --- include/linux/usb/phy.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/usb/phy.h b/include/linux/usb/phy.h index e4de6bc1f69b..ec03fa27be97 100644 --- a/include/linux/usb/phy.h +++ b/include/linux/usb/phy.h @@ -10,6 +10,7 @@ #ifndef __LINUX_USB_PHY_H #define __LINUX_USB_PHY_H +#include #include #include #include @@ -155,6 +156,8 @@ struct usb_phy { * manually detect the charger type. */ enum usb_charger_type (*charger_detect)(struct usb_phy *x); + + ANDROID_VENDOR_DATA(1); }; /* for board-specific init logic */