Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/panthor: Fix compilation failure on panthor_fw.c

Commit 498893bd596e ("drm/panthor: Simplify FW fast reset path") forgot
to copy the definition of glb_iface when it move one line of code.

Fixes: 498893bd596e ("drm/panthor: Simplify FW fast reset path")
Link: https://lore.kernel.org/dri-devel/20241119164455.572771-1-liviu.dudau@arm.com/
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Karunika Choo <karunika.choo@arm.com>
Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>

+1
+1
drivers/gpu/drm/panthor/panthor_fw.c
··· 1133 1133 * This is not needed on a slow reset because FW sections are 1134 1134 * re-initialized. 1135 1135 */ 1136 + struct panthor_fw_global_iface *glb_iface = panthor_fw_get_glb_iface(ptdev); 1136 1137 panthor_fw_update_reqs(glb_iface, req, 0, GLB_HALT); 1137 1138 1138 1139 ret = panthor_fw_start(ptdev);