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 <surong.pang@unisoc.com>
Change-Id: I8aff33d894aad790474375eb1d897207e4964d3c
This commit is contained in:
surong.pang
2022-04-01 14:26:18 +08:00
committed by Carlos Llamas
parent deb6937be6
commit 5134c3ba7c

View File

@@ -10,6 +10,7 @@
#ifndef __LINUX_USB_PHY_H
#define __LINUX_USB_PHY_H
#include <linux/android_vendor.h>
#include <linux/extcon.h>
#include <linux/notifier.h>
#include <linux/usb.h>
@@ -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 */