summaryrefslogtreecommitdiff
path: root/drivers/media/platform/s5p-g2d
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>2015-05-01 12:51:03 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-12 03:49:22 -0300
commit6425f646ffb1da577501098331da38df91d6aa6d (patch)
tree2aedd3334675cf69818968ed447f37b7f83fba73 /drivers/media/platform/s5p-g2d
parentef00b7ae68dfcbf8ccd81c5caf26337fc920b563 (diff)
downloadlwn-6425f646ffb1da577501098331da38df91d6aa6d.tar.gz
lwn-6425f646ffb1da577501098331da38df91d6aa6d.zip
[media] media: platform: s5p: Constify platform_device_id
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> [k.debski@samsung.com: Fix misspelling in title (s/sp5/s5p/)] Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/s5p-g2d')
-rw-r--r--drivers/media/platform/s5p-g2d/g2d.c2
1 files changed, 1 insertions, 1 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,