diff options
Diffstat (limited to 'backport/backport-include/linux/hid.h')
-rw-r--r-- | backport/backport-include/linux/hid.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backport/backport-include/linux/hid.h b/backport/backport-include/linux/hid.h index 22ff6f14..555ec2bd 100644 --- a/backport/backport-include/linux/hid.h +++ b/backport/backport-include/linux/hid.h @@ -34,4 +34,9 @@ extern bool hid_ignore(struct hid_device *); .bus = BUS_BLUETOOTH, .vendor = (ven), .product = (prod) #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,10,0) +#define hid_alloc_report_buf LINUX_BACKPORT(hid_alloc_report_buf) +u8 *hid_alloc_report_buf(struct hid_report *report, gfp_t flags); +#endif + #endif /* __BACKPORT_HID_H */ |