Mali: utgard: Fix compilation errors on kernel 6.1

Change-Id: Idb486aa35fed6ac26fa8949346c6de71f7cafefc
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
This commit is contained in:
Zhen Chen
2023-06-21 16:55:44 +08:00
committed by Tao Huang
parent f04fd717f9
commit b0d20f84d1

View File

@@ -759,7 +759,7 @@ _mali_osk_errcode_t mali_mem_os_init(void)
return _MALI_OSK_ERR_NOMEM;
}
register_shrinker(&mali_mem_os_allocator.shrinker);
register_shrinker(&mali_mem_os_allocator.shrinker, "mali-mem");
return _MALI_OSK_ERR_OK;
}