From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Sylwester Nawrocki <s.nawrocki@samsung.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Alim Akhtar <alim.akhtar@samsung.com>, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 05/12] media: fimc-is: constify clock names Date: Sun, 24 Dec 2023 12:49:09 +0100 [thread overview] Message-ID: <20231224114916.111433-5-krzysztof.kozlowski@linaro.org> (raw) In-Reply-To: <20231224114916.111433-1-krzysztof.kozlowski@linaro.org> Static array with clock names can be made const for code safety. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- drivers/media/platform/samsung/exynos4-is/fimc-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/samsung/exynos4-is/fimc-core.c b/drivers/media/platform/samsung/exynos4-is/fimc-core.c index 97908778e1c8..ad72cc31dc45 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" }; -- 2.34.1
WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Sylwester Nawrocki <s.nawrocki@samsung.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Alim Akhtar <alim.akhtar@samsung.com>, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 05/12] media: fimc-is: constify clock names Date: Sun, 24 Dec 2023 12:49:09 +0100 [thread overview] Message-ID: <20231224114916.111433-5-krzysztof.kozlowski@linaro.org> (raw) In-Reply-To: <20231224114916.111433-1-krzysztof.kozlowski@linaro.org> Static array with clock names can be made const for code safety. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- drivers/media/platform/samsung/exynos4-is/fimc-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/samsung/exynos4-is/fimc-core.c b/drivers/media/platform/samsung/exynos4-is/fimc-core.c index 97908778e1c8..ad72cc31dc45 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" }; -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-12-24 11:49 UTC|newest] Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-12-24 11:49 [PATCH 01/12] media: fimc-lite: drop unused flite_hw_set_camera_polarity() Krzysztof Kozlowski 2023-12-24 11:49 ` Krzysztof Kozlowski 2023-12-24 11:49 ` [PATCH 02/12] media: fimc-lite: constify several pointers in function arguments Krzysztof Kozlowski 2023-12-24 11:49 ` Krzysztof Kozlowski 2023-12-24 11:49 ` [PATCH 03/12] media: fimc-lite: constify pointers to v4l2_pix_format_mplane Krzysztof Kozlowski 2023-12-24 11:49 ` Krzysztof Kozlowski 2023-12-24 11:49 ` [PATCH 04/12] media: fimc-is: drop unused fimc_vidioc_enum_fmt_mplane() Krzysztof Kozlowski 2023-12-24 11:49 ` Krzysztof Kozlowski 2023-12-24 11:49 ` Krzysztof Kozlowski [this message] 2023-12-24 11:49 ` [PATCH 05/12] media: fimc-is: constify clock names Krzysztof Kozlowski 2023-12-24 11:49 ` [PATCH 06/12] media: fimc-is: constify several pointers in function arguments Krzysztof Kozlowski 2023-12-24 11:49 ` Krzysztof Kozlowski 2023-12-24 11:49 ` [PATCH 07/12] media: fimc-is: constify local pointers to fimc_fmt Krzysztof Kozlowski 2023-12-24 11:49 ` Krzysztof Kozlowski 2023-12-24 11:49 ` [PATCH 08/12] media: fimc-is: constify fimc_formats array Krzysztof Kozlowski 2023-12-24 11:49 ` Krzysztof Kozlowski 2023-12-24 11:49 ` [PATCH 09/12] media: fimc-is: constify pointers to v4l2_pix_format_mplane Krzysztof Kozlowski 2023-12-24 11:49 ` Krzysztof Kozlowski 2023-12-24 11:49 ` [PATCH 10/12] media: fimc-is: constify local pointers to fimc_dma_offset Krzysztof Kozlowski 2023-12-24 11:49 ` Krzysztof Kozlowski 2023-12-24 11:49 ` [PATCH 11/12] media: fimc-is: constify local pointers to fimc_vid_cap Krzysztof Kozlowski 2023-12-24 11:49 ` Krzysztof Kozlowski 2023-12-24 11:49 ` [PATCH 12/12] media: fimc-is: constify local pointers to fimc_frame Krzysztof Kozlowski 2023-12-24 11:49 ` Krzysztof Kozlowski
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20231224114916.111433-5-krzysztof.kozlowski@linaro.org \ --to=krzysztof.kozlowski@linaro.org \ --cc=alim.akhtar@samsung.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-media@vger.kernel.org \ --cc=linux-samsung-soc@vger.kernel.org \ --cc=mchehab@kernel.org \ --cc=s.nawrocki@samsung.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.