From fce01666d57c9c76c21d4ac31adc225a2a6c2e42 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Wed, 30 Mar 2016 14:03:35 -0700 Subject: 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 Reviewed-on: http://git-master/r/1120464 --- drivers/gpu/nvgpu/gp10b/gp10b_sysfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gp10b/gp10b_sysfs.h') 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 @@ /*ECC Fuse*/ #define FUSE_OPT_ECC_EN 0x358 -void gp10b_create_sysfs(struct platform_device *dev); +void gp10b_create_sysfs(struct device *dev); void gp10b_remove_sysfs(struct device *dev); #endif /*_GP10B_SYSFS_H_*/ -- cgit v1.2.2