Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8afacb8f authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

ANDROID: GKI: add padding to struct hid_device



struct hid_device was not being tracked as a "stable" symbol in the
past, but that looks to change with some future abi requirements.  So
add needed padding now, to ensure that we can support this over the
long-term.

This does not change the existing api at all as this symbol was not
supported yet.

Bug: 151154716
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Change-Id: I8c3064fb7a19006a29dabbaf25c9ed1737f62e75
parent ae78026f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@
#include <linux/mutex.h>
#include <linux/power_supply.h>
#include <uapi/linux/hid.h>
#include <linux/android_kabi.h>

/*
 * We parse each description item into this structure. Short items data
@@ -618,6 +619,9 @@ struct hid_device { /* device report descriptor */
	struct list_head debug_list;
	spinlock_t  debug_list_lock;
	wait_queue_head_t debug_wait;

	ANDROID_KABI_RESERVE(1);
	ANDROID_KABI_RESERVE(2);
};

#define to_hid_device(pdev) \