summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2024-08-14 10:02:13 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2024-08-14 10:05:25 +0900
commit1f539db9248e5e5564f425c1ad862c11eb4670c2 (patch)
treedd1ccdea43e4071bb0bc44e471e494e1d72e22d3
parentfc9f08b8981af494a3b1a491d9e514c215bf42c3 (diff)
downloadlinux-thead-accepted/tizen/unified/x/20240818.074458.tar.gz
linux-thead-accepted/tizen/unified/x/20240818.074458.tar.bz2
linux-thead-accepted/tizen/unified/x/20240818.074458.zip
gpu: drm: img-rogue: Fix shrinker nameaccepted/tizen/unified/x/20240818.074458
The empty character shrinker name causes build warning, so fix it to NULL as like other git trees including img-rogue. Change-Id: I4aca9e4309ad27bd9922af54f9a10de11b929d20 Ref: https://git.tizen.org/cgit/platform/kernel/linux-starfive/tree/drivers/gpu/drm/img/img-rogue/services/server/env/linux/physmem_osmem_linux.c?h=7d2455338737#n615 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
-rw-r--r--drivers/gpu/drm/img-rogue/physmem_osmem_linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/img-rogue/physmem_osmem_linux.c b/drivers/gpu/drm/img-rogue/physmem_osmem_linux.c
index e3da660bee28..3f3baa46c93c 100644
--- a/drivers/gpu/drm/img-rogue/physmem_osmem_linux.c
+++ b/drivers/gpu/drm/img-rogue/physmem_osmem_linux.c
@@ -612,7 +612,7 @@ void LinuxInitPhysmem(void)
if (g_psLinuxPagePoolCache)
{
/* Only create the shrinker if we created the cache OK */
- register_shrinker(&g_sShrinker, "");
+ register_shrinker(&g_sShrinker, NULL);
}
OSAtomicWrite(&g_iPoolCleanTasks, 0);