summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>2015-05-01 17:56:36 +0200
committerInki Dae <daeinki@gmail.com>2015-05-19 15:50:52 +0200
commitd6b163026c5a6f2e49bc59261b69d44465ebddb4 (patch)
tree4d421bb8b008d209ba671e02d66b6ae13616c6d9 /drivers
parentdrm/exynos: mixer: cleanup pixelformat handling (diff)
downloadlinux-d6b163026c5a6f2e49bc59261b69d44465ebddb4.tar.xz
linux-d6b163026c5a6f2e49bc59261b69d44465ebddb4.zip
drm/exynos: mixer: 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> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/exynos/exynos_mixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c
index 1bcbcfd5f8c3..1a07fdd3e39d 100644
--- a/drivers/gpu/drm/exynos/exynos_mixer.c
+++ b/drivers/gpu/drm/exynos/exynos_mixer.c
@@ -1159,7 +1159,7 @@ static struct mixer_drv_data exynos4210_mxr_drv_data = {
.has_sclk = 1,
};
-static struct platform_device_id mixer_driver_types[] = {
+static const struct platform_device_id mixer_driver_types[] = {
{
.name = "s5p-mixer",
.driver_data = (unsigned long)&exynos4210_mxr_drv_data,