From 04dd17822334871b23ea2862f7798fb0e0007777 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Sat, 11 May 2024 08:53:19 +0000 Subject: [PATCH] change otg to host mode --- kernel/include/linux/usb/otg.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/kernel/include/linux/usb/otg.h b/kernel/include/linux/usb/otg.h index 5113ab6..10cb3d1 100644 --- a/kernel/include/linux/usb/otg.h +++ b/kernel/include/linux/usb/otg.h @@ -12,6 +12,7 @@ #include <linux/phy/phy.h> #include <linux/usb/phy.h> +#include <linux/android_kabi.h> struct usb_otg { u8 default_a; @@ -40,6 +41,7 @@ /* start or continue HNP role switch */ int (*start_hnp)(struct usb_otg *otg); + ANDROID_KABI_RESERVE(1); }; /** @@ -118,7 +120,6 @@ USB_DR_MODE_HOST, USB_DR_MODE_PERIPHERAL, USB_DR_MODE_OTG, - USB_DR_MODE_DRD, }; /** -- Gitblit v1.6.2