From 9624292feed8df39c84830399af9ba3370485e7c Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Wed, 2 Apr 2014 23:53:36 +0000 Subject: backports: remove bluetooth HIDP backport This is only needed for code coming in from v3.15. Signed-off-by: Luis R. Rodriguez --- .../85-hid_ll_driver/net_bluetooth_hidp_core.patch | 45 ---------------------- 1 file changed, 45 deletions(-) delete mode 100644 patches/collateral-evolutions/network/85-hid_ll_driver/net_bluetooth_hidp_core.patch diff --git a/patches/collateral-evolutions/network/85-hid_ll_driver/net_bluetooth_hidp_core.patch b/patches/collateral-evolutions/network/85-hid_ll_driver/net_bluetooth_hidp_core.patch deleted file mode 100644 index 19b3b854..00000000 --- a/patches/collateral-evolutions/network/85-hid_ll_driver/net_bluetooth_hidp_core.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- a/net/bluetooth/hidp/core.c -+++ b/net/bluetooth/hidp/core.c -@@ -223,6 +223,7 @@ static void hidp_input_report(struct hid - input_sync(dev); - } - -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0) - static int hidp_get_raw_report(struct hid_device *hid, - unsigned char report_number, - unsigned char *data, size_t count, -@@ -307,6 +308,7 @@ err: - mutex_unlock(&session->report_mutex); - return ret; - } -+#endif - - static int hidp_set_raw_report(struct hid_device *hid, unsigned char reportnum, - unsigned char *data, size_t count, -@@ -394,6 +396,7 @@ static int hidp_output_raw_report(struct - return hidp_set_raw_report(hid, data[0], data, count, report_type); - } - -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0) - static int hidp_raw_request(struct hid_device *hid, unsigned char reportnum, - __u8 *buf, size_t len, unsigned char rtype, - int reqtype) -@@ -407,6 +410,7 @@ static int hidp_raw_request(struct hid_d - return -EIO; - } - } -+#endif - - static void hidp_idle_timeout(unsigned long arg) - { -@@ -736,8 +740,10 @@ static struct hid_ll_driver hidp_hid_dri - .stop = hidp_stop, - .open = hidp_open, - .close = hidp_close, -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0) - .raw_request = hidp_raw_request, - .output_report = hidp_output_report, -+#endif - }; - - /* This function sets up the hid device. It does not add it -- cgit v1.2.3