summaryrefslogtreecommitdiff
path: root/patches/0021-umode_t-api-change/ath10k.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/0021-umode_t-api-change/ath10k.patch')
-rw-r--r--patches/0021-umode_t-api-change/ath10k.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/0021-umode_t-api-change/ath10k.patch b/patches/0021-umode_t-api-change/ath10k.patch
new file mode 100644
index 00000000..0d02657a
--- /dev/null
+++ b/patches/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
+@@ -477,7 +477,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)
+ {