summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/samsung/exynos4-is
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2023-12-24 12:49:09 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-01-22 12:16:42 +0100
commitab1270eeb6b2a7d0f82a94ae33dc3cd05d69e64a (patch)
treea68534a11c00a372a84ae7c9fedf468bbb199499 /drivers/media/platform/samsung/exynos4-is
parentmedia: fimc-is: drop unused fimc_vidioc_enum_fmt_mplane() (diff)
downloadlinux-ab1270eeb6b2a7d0f82a94ae33dc3cd05d69e64a.tar.xz
linux-ab1270eeb6b2a7d0f82a94ae33dc3cd05d69e64a.zip
media: fimc-is: constify clock names
Static array with clock names can be made const for code safety. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/platform/samsung/exynos4-is')
-rw-r--r--drivers/media/platform/samsung/exynos4-is/fimc-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/samsung/exynos4-is/fimc-core.c b/drivers/media/platform/samsung/exynos4-is/fimc-core.c
index 0be687b01ce5..0c401c75c1e0 100644
--- a/drivers/media/platform/samsung/exynos4-is/fimc-core.c
+++ b/drivers/media/platform/samsung/exynos4-is/fimc-core.c
@@ -29,7 +29,7 @@
#include "fimc-reg.h"
#include "media-dev.h"
-static char *fimc_clocks[MAX_FIMC_CLOCKS] = {
+static const char *fimc_clocks[MAX_FIMC_CLOCKS] = {
"sclk_fimc", "fimc"
};