summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/gp10b_sysfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/gp10b_sysfs.h')
-rw-r--r--drivers/gpu/nvgpu/gp10b/gp10b_sysfs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gp10b_sysfs.h b/drivers/gpu/nvgpu/gp10b/gp10b_sysfs.h
index 7c3d3400..786a3bb0 100644
--- a/drivers/gpu/nvgpu/gp10b/gp10b_sysfs.h
+++ b/drivers/gpu/nvgpu/gp10b/gp10b_sysfs.h
@@ -16,8 +16,12 @@
16#ifndef _GP10B_SYSFS_H_ 16#ifndef _GP10B_SYSFS_H_
17#define _GP10B_SYSFS_H_ 17#define _GP10B_SYSFS_H_
18 18
19#include <linux/version.h>
20
19/*ECC Fuse*/ 21/*ECC Fuse*/
22#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 4, 0)
20#define FUSE_OPT_ECC_EN 0x358 23#define FUSE_OPT_ECC_EN 0x358
24#endif
21 25
22void gp10b_create_sysfs(struct device *dev); 26void gp10b_create_sysfs(struct device *dev);
23void gp10b_remove_sysfs(struct device *dev); 27void gp10b_remove_sysfs(struct device *dev);