From 55f146682bc6b71b8def9844663a61d1df6d0dbf Mon Sep 17 00:00:00 2001 From: JaeHun Jung Date: Thu, 29 Jun 2023 07:45:13 +0900 Subject: [PATCH] ANDROID: GKI: USB: XHCI: add Android ABI padding to struct xhci_vendor_ops struct xhci_vendor_ops can be change when bug or new features. So, Add padding to struct xhci_vendor_opsin order to be able to handle any future problems easier. Bug: 156315379 Change-Id: I62fe5edeee9f5bcfe7834a82f3e35d11a54cf52f Signed-off-by: JaeHun Jung --- 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 8841f06a1f5b..5d1c57bfd0af 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h @@ -2296,6 +2296,11 @@ struct xhci_vendor_ops { void (*alloc_container_ctx)(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx, int type, gfp_t flags); void (*free_container_ctx)(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx); + + ANDROID_KABI_RESERVE(1); + ANDROID_KABI_RESERVE(2); + ANDROID_KABI_RESERVE(3); + ANDROID_KABI_RESERVE(4); }; struct xhci_vendor_ops *xhci_vendor_get_ops(struct xhci_hcd *xhci);