diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/gp10b_sysfs.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/gp10b_sysfs.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gp10b_sysfs.h b/drivers/gpu/nvgpu/gp10b/gp10b_sysfs.h new file mode 100644 index 00000000..c1d101da --- /dev/null +++ b/drivers/gpu/nvgpu/gp10b/gp10b_sysfs.h | |||
@@ -0,0 +1,25 @@ | |||
1 | /* | ||
2 | * GP10B specific sysfs files | ||
3 | * | ||
4 | * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms and conditions of the GNU General Public License, | ||
8 | * version 2, as published by the Free Software Foundation. | ||
9 | * | ||
10 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
11 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
12 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
13 | * more details. | ||
14 | */ | ||
15 | |||
16 | #ifndef _GP10B_SYSFS_H_ | ||
17 | #define _GP10B_SYSFS_H_ | ||
18 | |||
19 | /*ECC Fuse*/ | ||
20 | #define FUSE_OPT_ECC_EN 0x358 | ||
21 | |||
22 | void gp10b_create_sysfs(struct platform_device *dev); | ||
23 | void gp10b_remove_sysfs(struct device *dev); | ||
24 | |||
25 | #endif /*_GP10B_SYSFS_H_*/ | ||