[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-backports
Subject: [PATCH 1/4] backports: adapt api change of rchan_callbacks->create_buf_file in ath10k
From: Hauke Mehrtens <hauke () hauke-m ! de>
Date: 2014-09-06 23:23:34
Message-ID: 1410045817-4112-2-git-send-email-hauke () hauke-m ! de
[Download RAW message or body]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
.../network/0021-umode_t-api-change/ath10k.patch | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 patches/collateral-evolutions/network/0021-umode_t-api-change/ath10k.patch
diff --git a/patches/collateral-evolutions/network/0021-umode_t-api-change/ath10k.patch \
b/patches/collateral-evolutions/network/0021-umode_t-api-change/ath10k.patch new file \
mode 100644 index 0000000..09b82ed
--- /dev/null
+++ b/patches/collateral-evolutions/network/0021-umode_t-api-change/ath10k.patch
@@ -0,0 +1,14 @@
+--- a/drivers/net/wireless/ath/ath10k/spectral.c
++++ b/drivers/net/wireless/ath/ath10k/spectral.c
+@@ -482,7 +482,11 @@ static const struct file_operations fops
+
+ static struct dentry *create_buf_file_handler(const char *filename,
+ struct dentry *parent,
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0))
+ umode_t mode,
++#else
++ int mode,
++#endif
+ struct rchan_buf *buf,
+ int *is_global)
+ {
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic