summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/s5p-tv
diff options
context:
space:
mode:
authorKrzysztof Kozlowski2015-05-01 17:51:03 +0200
committerMauro Carvalho Chehab2015-05-12 08:49:22 +0200
commit6425f646ffb1da577501098331da38df91d6aa6d (patch)
tree2aedd3334675cf69818968ed447f37b7f83fba73 /drivers/media/platform/s5p-tv
parent[media] media: platform: s3c-camif: Constify platform_device_id (diff)
downloadkernel-qcow2-linux-6425f646ffb1da577501098331da38df91d6aa6d.tar.gz
kernel-qcow2-linux-6425f646ffb1da577501098331da38df91d6aa6d.tar.xz
kernel-qcow2-linux-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-tv')
-rw-r--r--drivers/media/platform/s5p-tv/hdmi_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-tv/hdmi_drv.c b/drivers/media/platform/s5p-tv/hdmi_drv.c
index 618ecd1d5b27..79940757b34f 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",
}, {