From 0bdb080c70495ea4efbed7661b4fe6100bd5adde Mon Sep 17 00:00:00 2001 From: Dominik Sliwa Date: Thu, 21 Feb 2019 10:23:08 +0100 Subject: Revert "backports: Remove unused parts" This reverts commit ab3fd3b9a801a9faa2619e2e65207e736f859a6d. --- .../drivers_net_wireless_ath_ath9k_debug.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 patches/0021-umode_t-api-change/drivers_net_wireless_ath_ath9k_debug.patch (limited to 'patches/0021-umode_t-api-change/drivers_net_wireless_ath_ath9k_debug.patch') diff --git a/patches/0021-umode_t-api-change/drivers_net_wireless_ath_ath9k_debug.patch b/patches/0021-umode_t-api-change/drivers_net_wireless_ath_ath9k_debug.patch new file mode 100644 index 00000000..a64c0290 --- /dev/null +++ b/patches/0021-umode_t-api-change/drivers_net_wireless_ath_ath9k_debug.patch @@ -0,0 +1,14 @@ +--- a/drivers/net/wireless/ath/ath9k/spectral.c ++++ b/drivers/net/wireless/ath/ath9k/spectral.c +@@ -478,7 +478,11 @@ static const struct file_operations fops + + static struct dentry *create_buf_file_handler(const char *filename, + struct dentry *parent, ++#if LINUX_VERSION_IS_GEQ(3,3,0) + umode_t mode, ++#else ++ int mode, ++#endif + struct rchan_buf *buf, + int *is_global) + { -- cgit v1.2.3