summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2024-11-05 10:42:06 +0100
committerMarek Szyprowski <m.szyprowski@samsung.com>2024-11-05 10:43:17 +0100
commit5ab1322a06bf1ceb43c8247d850c91d00cad1d3d (patch)
treeaf0fefb7dda1bef1154549208fbe96f6d805cbf9
parente71d1abc5e49e04363afa0126264d9403b058e5c (diff)
downloadlinux-thead-5ab1322a06bf1ceb43c8247d850c91d00cad1d3d.tar.gz
linux-thead-5ab1322a06bf1ceb43c8247d850c91d00cad1d3d.tar.bz2
linux-thead-5ab1322a06bf1ceb43c8247d850c91d00cad1d3d.zip
gpu: drm: img: Fix build warningaccepted/tizen/unified/x/20241106.131212
Fix the following build warning introduce after recent configuration change: drivers/gpu/drm/img-rogue/module_common.c:558:13: warning: 'wrap_pvr_sync_close' defined but not used [-Wunused-function] 558 | static void wrap_pvr_sync_close(void *connection_data) | ^~~~~~~~~~~~~~~~~~~ Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: I505620cfd351bc5980d48d0916c342d015054430
-rw-r--r--drivers/gpu/drm/img-rogue/module_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/img-rogue/module_common.c b/drivers/gpu/drm/img-rogue/module_common.c
index 76d0dac52e34..2bc3b8d2ee49 100644
--- a/drivers/gpu/drm/img-rogue/module_common.c
+++ b/drivers/gpu/drm/img-rogue/module_common.c
@@ -555,7 +555,7 @@ out:
return iErr;
}
-static void wrap_pvr_sync_close(void *connection_data)
+static void __maybe_unused wrap_pvr_sync_close(void *connection_data)
{
CONNECTION_DATA *psConnection = (CONNECTION_DATA *)connection_data;
pvr_sync_close(connection_data);