mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: Fix build error caused by use of gk20a_warn()
gk20a_warn() was removed from nvgpu, so use of it causes a kernel build break. Change-Id: I87480494d24f6f9c1fd0b7ff0fb0fcf874fe0152 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1464965 Tested-by: Rohit Khanna <rokhanna@nvidia.com> Reviewed-by: Rohit Khanna <rokhanna@nvidia.com>
This commit is contained in:
committed by
Rohit Khanna
parent
0a6b585dbf
commit
cb283956b8
@@ -299,8 +299,7 @@ u32 pmgr_device_sw_setup(struct gk20a *g)
|
||||
|
||||
/* WAR for missing INA3221 on HW2.5 RevA */
|
||||
if (g->power_sensor_missing) {
|
||||
gk20a_warn(dev_from_gk20a(g),
|
||||
"no power sensor, monitoring disabled");
|
||||
nvgpu_warn(g, "no power sensor, monitoring disabled");
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user