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: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I8c3064fb7a19006a29dabbaf25c9ed1737f62e75
This commit is contained in:
parent
936b0da47b
commit
5940799827
|
@ -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
|
||||
|
@ -629,6 +630,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) \
|
||||
|
|
Loading…
Reference in New Issue