From 2c6f80378c801498ff7bede80ef178300dfa2805 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 14 Jun 2023 17:49:48 +0000 Subject: [PATCH] ANDROID: GKI: USB: XHCI: add Android ABI padding to struct xhci_driver_overrides Given that the vendors like to hook the xhci platform driver to handle offload functionality that is not yet upstream, add some more padding to struct xhci_driver_overrides in order to be able to handle any future problems easier. Bug: 151154716 Bug: 182336717 Cc: Daehwan Jung Cc: JaeHun Jung Signed-off-by: Greg Kroah-Hartman Change-Id: Iaa59f63b0777c7671292bd0839a6eb8f57bc7a59 --- drivers/usb/host/xhci.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index a5e69f7ba28a..8841f06a1f5b 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h @@ -1966,6 +1966,11 @@ struct xhci_driver_overrides { int (*address_device)(struct usb_hcd *hcd, struct usb_device *udev); int (*bus_suspend)(struct usb_hcd *hcd); int (*bus_resume)(struct usb_hcd *hcd); + + ANDROID_KABI_RESERVE(1); + ANDROID_KABI_RESERVE(2); + ANDROID_KABI_RESERVE(3); + ANDROID_KABI_RESERVE(4); }; #define XHCI_CFC_DELAY 10