diff --git a/1019-t1-tb.patch b/1019-t1-tb.patch index 1caf3ee..d2c2955 100644 --- a/1019-t1-tb.patch +++ b/1019-t1-tb.patch @@ -144,7 +144,7 @@ index aefba5332b083d..cdb20061962e6e 100644 switch (item->tag) { case HID_MAIN_ITEM_TAG_BEGIN_COLLECTION: @@ -711,12 +713,19 @@ static void hid_device_release(struct device *dev) - kfree(hid); + kref_put(&hid->ref, hiddev_free); } -/* @@ -161,8 +161,8 @@ index aefba5332b083d..cdb20061962e6e 100644 + * Return: the position of the next item in the report */ - --static u8 *fetch_item(__u8 *start, __u8 *end, struct hid_item *item) -+u8 *hid_fetch_item(__u8 *start, __u8 *end, struct hid_item *item) +-static const u8 *fetch_item(__u8 *start, __u8 *end, struct hid_item *item) ++u8 const *hid_fetch_item(__u8 *start, __u8 *end, struct hid_item *item) { u8 b;