From: Hauke Mehrtens Date: Sat, 6 Sep 2014 21:42:25 +0000 (+0200) Subject: backports: adapt api change of rchan_callbacks->create_buf_file in ath10k X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0d87943a692edf86f267cf0e5ab9c13a812bfade;p=openwrt%2Fstaging%2Fblogic.git backports: adapt api change of rchan_callbacks->create_buf_file in ath10k Signed-off-by: Hauke Mehrtens --- 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 000000000000..09b82ed52d0c --- /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) + {