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 <dh10.jung@samsung.com>
Cc: JaeHun Jung <jh0801.jung@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Iaa59f63b0777c7671292bd0839a6eb8f57bc7a59
This commit is contained in:
Greg Kroah-Hartman 2023-06-14 17:49:48 +00:00 committed by Carlos Llamas
parent cd3b5ff535
commit 2c6f80378c

View File

@ -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