From 890e1df1bec891d9203724541e81f8fbe5183388 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 19 Feb 2024 01:57:06 +0000
Subject: [PATCH] default settings GPIO PA4 PA6 PA3 PB5
---
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