From a0a3a6323a0e4323d9dedac14b47239535b1cb8b Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Thu, 27 Jul 2017 13:50:29 -0700 Subject: gpu: nvgpu: Pass gk20a to XVE init Pass gk20a pointer instead of struct device pointer to XVE init. Change-Id: I5f5efc1d09430a45a49321830b1d7f17c7a57e2f Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/1528264 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Alex Waterman GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/gp106/xve_gp106.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gp106/xve_gp106.h') diff --git a/drivers/gpu/nvgpu/gp106/xve_gp106.h b/drivers/gpu/nvgpu/gp106/xve_gp106.h index 31d3a125..37ead910 100644 --- a/drivers/gpu/nvgpu/gp106/xve_gp106.h +++ b/drivers/gpu/nvgpu/gp106/xve_gp106.h @@ -104,7 +104,7 @@ int xve_get_speed_gp106(struct gk20a *g, u32 *xve_link_speed); void xve_disable_aspm_gp106(struct gk20a *g); int xve_set_speed_gp106(struct gk20a *g, u32 next_link_speed); void xve_available_speeds_gp106(struct gk20a *g, u32 *speed_mask); -int xve_sw_init_gp106(struct device *dev); +int xve_sw_init_gp106(struct gk20a *g); #if defined(CONFIG_PCI_MSI) void xve_rearm_msi_gp106(struct gk20a *g); #endif -- cgit v1.2.2