blob: 1b0405546922aee94ff776a1dce8557e69d0009c [file] [log] [blame]
--- a/drivers/net/wireless/ath/ath10k/spectral.c
+++ b/drivers/net/wireless/ath/ath10k/spectral.c
@@ -475,7 +475,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)
{