* [PATCH 1/4] media: platform: exynos-gsc: Constify platform_device_id
@ 2015-05-01 15:51 Krzysztof Kozlowski
2015-05-01 15:51 ` [PATCH 2/4] media: platform: exynos4-is: " Krzysztof Kozlowski
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 15:51 UTC (permalink / raw)
To: linux-arm-kernel
The platform_device_id is not modified by the driver and core uses it as
const.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
---
drivers/media/platform/exynos-gsc/gsc-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platform/exynos-gsc/gsc-core.c b/drivers/media/platform/exynos-gsc/gsc-core.c
index fd2891c886a3..9b9e423e4fc4 100644
--- a/drivers/media/platform/exynos-gsc/gsc-core.c
+++ b/drivers/media/platform/exynos-gsc/gsc-core.c
@@ -967,7 +967,7 @@ static struct gsc_driverdata gsc_v_100_drvdata = {
.lclk_frequency = 266000000UL,
};
-static struct platform_device_id gsc_driver_ids[] = {
+static const struct platform_device_id gsc_driver_ids[] = {
{
.name = "exynos-gsc",
.driver_data = (unsigned long)&gsc_v_100_drvdata,
--
2.1.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 2/4] media: platform: exynos4-is: Constify platform_device_id
2015-05-01 15:51 [PATCH 1/4] media: platform: exynos-gsc: Constify platform_device_id Krzysztof Kozlowski
@ 2015-05-01 15:51 ` Krzysztof Kozlowski
2015-05-01 15:51 ` [PATCH 3/4] media: platform: s3c-camif: " Krzysztof Kozlowski
2015-05-01 15:51 ` [PATCH 4/4] media: platform: sp5: " Krzysztof Kozlowski
2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 15:51 UTC (permalink / raw)
To: linux-arm-kernel
The platform_device_id is not modified by the driver and core uses it as
const.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
---
drivers/media/platform/exynos4-is/media-dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platform/exynos4-is/media-dev.c b/drivers/media/platform/exynos4-is/media-dev.c
index f315ef946cd4..4f5586a4cbff 100644
--- a/drivers/media/platform/exynos4-is/media-dev.c
+++ b/drivers/media/platform/exynos4-is/media-dev.c
@@ -1451,7 +1451,7 @@ static int fimc_md_remove(struct platform_device *pdev)
return 0;
}
-static struct platform_device_id fimc_driver_ids[] __always_unused = {
+static const struct platform_device_id fimc_driver_ids[] __always_unused = {
{ .name = "s5p-fimc-md" },
{ },
};
--
2.1.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 3/4] media: platform: s3c-camif: Constify platform_device_id
2015-05-01 15:51 [PATCH 1/4] media: platform: exynos-gsc: Constify platform_device_id Krzysztof Kozlowski
2015-05-01 15:51 ` [PATCH 2/4] media: platform: exynos4-is: " Krzysztof Kozlowski
@ 2015-05-01 15:51 ` Krzysztof Kozlowski
2015-05-01 15:51 ` [PATCH 4/4] media: platform: sp5: " Krzysztof Kozlowski
2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 15:51 UTC (permalink / raw)
To: linux-arm-kernel
The platform_device_id is not modified by the driver and core uses it as
const.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
---
drivers/media/platform/s3c-camif/camif-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platform/s3c-camif/camif-core.c b/drivers/media/platform/s3c-camif/camif-core.c
index 2d5bd3ac7f81..f47b332f0418 100644
--- a/drivers/media/platform/s3c-camif/camif-core.c
+++ b/drivers/media/platform/s3c-camif/camif-core.c
@@ -628,7 +628,7 @@ static struct s3c_camif_drvdata s3c6410_camif_drvdata = {
.bus_clk_freq = 133000000UL,
};
-static struct platform_device_id s3c_camif_driver_ids[] = {
+static const struct platform_device_id s3c_camif_driver_ids[] = {
{
.name = "s3c2440-camif",
.driver_data = (unsigned long)&s3c244x_camif_drvdata,
--
2.1.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 4/4] media: platform: sp5: Constify platform_device_id
2015-05-01 15:51 [PATCH 1/4] media: platform: exynos-gsc: Constify platform_device_id Krzysztof Kozlowski
2015-05-01 15:51 ` [PATCH 2/4] media: platform: exynos4-is: " Krzysztof Kozlowski
2015-05-01 15:51 ` [PATCH 3/4] media: platform: s3c-camif: " Krzysztof Kozlowski
@ 2015-05-01 15:51 ` Krzysztof Kozlowski
2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 15:51 UTC (permalink / raw)
To: linux-arm-kernel
The platform_device_id is not modified by the driver and core uses it as
const.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
---
drivers/media/platform/s5p-g2d/g2d.c | 2 +-
drivers/media/platform/s5p-mfc/s5p_mfc.c | 2 +-
drivers/media/platform/s5p-tv/hdmi_drv.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/media/platform/s5p-g2d/g2d.c b/drivers/media/platform/s5p-g2d/g2d.c
index ec3e1248923d..421a7c3b595b 100644
--- a/drivers/media/platform/s5p-g2d/g2d.c
+++ b/drivers/media/platform/s5p-g2d/g2d.c
@@ -787,7 +787,7 @@ static const struct of_device_id exynos_g2d_match[] = {
};
MODULE_DEVICE_TABLE(of, exynos_g2d_match);
-static struct platform_device_id g2d_driver_ids[] = {
+static const struct platform_device_id g2d_driver_ids[] = {
{
.name = "s5p-g2d",
.driver_data = (unsigned long)&g2d_drvdata_v3x,
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc.c b/drivers/media/platform/s5p-mfc/s5p_mfc.c
index 8333fbc2fe96..fa878cb04004 100644
--- a/drivers/media/platform/s5p-mfc/s5p_mfc.c
+++ b/drivers/media/platform/s5p-mfc/s5p_mfc.c
@@ -1463,7 +1463,7 @@ static struct s5p_mfc_variant mfc_drvdata_v8 = {
.fw_name[0] = "s5p-mfc-v8.fw",
};
-static struct platform_device_id mfc_driver_ids[] = {
+static const struct platform_device_id mfc_driver_ids[] = {
{
.name = "s5p-mfc",
.driver_data = (unsigned long)&mfc_drvdata_v5,
diff --git a/drivers/media/platform/s5p-tv/hdmi_drv.c b/drivers/media/platform/s5p-tv/hdmi_drv.c
index 0e74aabf5f9a..e8c069de6238 100644
--- a/drivers/media/platform/s5p-tv/hdmi_drv.c
+++ b/drivers/media/platform/s5p-tv/hdmi_drv.c
@@ -96,7 +96,7 @@ struct hdmi_device {
struct hdmi_resources res;
};
-static struct platform_device_id hdmi_driver_types[] = {
+static const struct platform_device_id hdmi_driver_types[] = {
{
.name = "s5pv210-hdmi",
}, {
--
2.1.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-05-01 15:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-01 15:51 [PATCH 1/4] media: platform: exynos-gsc: Constify platform_device_id Krzysztof Kozlowski
2015-05-01 15:51 ` [PATCH 2/4] media: platform: exynos4-is: " Krzysztof Kozlowski
2015-05-01 15:51 ` [PATCH 3/4] media: platform: s3c-camif: " Krzysztof Kozlowski
2015-05-01 15:51 ` [PATCH 4/4] media: platform: sp5: " Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).