summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/gp10b_sysfs.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2016-03-30 17:03:35 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:52:11 -0500
commitfce01666d57c9c76c21d4ac31adc225a2a6c2e42 (patch)
treeebddef3f3e9ed0c04535535c793c44132ea847e7 /drivers/gpu/nvgpu/gp10b/gp10b_sysfs.h
parentbd688d31ce7df4a2d9134a521fa4c4f5eba06c2d (diff)
gpu: nvgpu: Use device instead of platform_device
Use struct device instead of struct platform_device wherever possible. This allows adding other bus types later. Change-Id: I90623c020919ca8e2e5b31d53914c324d2dc6af9 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1120464
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/gp10b_sysfs.h')
-rw-r--r--drivers/gpu/nvgpu/gp10b/gp10b_sysfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gp10b_sysfs.h b/drivers/gpu/nvgpu/gp10b/gp10b_sysfs.h
index c1d101da..7c3d3400 100644
--- a/drivers/gpu/nvgpu/gp10b/gp10b_sysfs.h
+++ b/drivers/gpu/nvgpu/gp10b/gp10b_sysfs.h
@@ -19,7 +19,7 @@
19/*ECC Fuse*/ 19/*ECC Fuse*/
20#define FUSE_OPT_ECC_EN 0x358 20#define FUSE_OPT_ECC_EN 0x358
21 21
22void gp10b_create_sysfs(struct platform_device *dev); 22void gp10b_create_sysfs(struct device *dev);
23void gp10b_remove_sysfs(struct device *dev); 23void gp10b_remove_sysfs(struct device *dev);
24 24
25#endif /*_GP10B_SYSFS_H_*/ 25#endif /*_GP10B_SYSFS_H_*/