mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
ANDROID: GKI: provide more padding for struct usb_phy
There is at least one pending change for struct usb_phy that is not going to make the ABI freeze deadline, but has already been submitted upstream and is under active development. So reserve a spot for that new callback to be added, and provide a bit more buffer here to the structure for any future LTS changes that might be coming in this area of the kernel Bug: 151154716 Cc: Stanley Chang <stanley_chang@realtek.com> Change-Id: I992a46fa35502fd491ee24d503290119c9b9f655 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
committed by
Carlos Llamas
parent
bb9c879726
commit
d4dd4d9f19
@@ -157,7 +157,17 @@ struct usb_phy {
|
|||||||
*/
|
*/
|
||||||
enum usb_charger_type (*charger_detect)(struct usb_phy *x);
|
enum usb_charger_type (*charger_detect)(struct usb_phy *x);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Reserved slot 0 here is seserved for a notify_port_status callback addition that narrowly
|
||||||
|
* missed the ABI freeze deadline due to upstream review disussions. See
|
||||||
|
* https://lore.kernel.org/linux-usb/20230607062500.24669-1-stanley_chang@realtek.com/
|
||||||
|
* for details. All other slots are for "normal" future ABI breaks in LTS updates
|
||||||
|
*/
|
||||||
|
ANDROID_KABI_RESERVE(0);
|
||||||
ANDROID_KABI_RESERVE(1);
|
ANDROID_KABI_RESERVE(1);
|
||||||
|
ANDROID_KABI_RESERVE(2);
|
||||||
|
ANDROID_KABI_RESERVE(3);
|
||||||
|
ANDROID_KABI_RESERVE(4);
|
||||||
};
|
};
|
||||||
|
|
||||||
/* for board-specific init logic */
|
/* for board-specific init logic */
|
||||||
|
|||||||
Reference in New Issue
Block a user