summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>2015-05-02 00:56:36 +0900
committerInki Dae <daeinki@gmail.com>2015-05-19 22:50:52 +0900
commitd6b163026c5a6f2e49bc59261b69d44465ebddb4 (patch)
tree4d421bb8b008d209ba671e02d66b6ae13616c6d9 /drivers/gpu
parent7a57ca7c89ad7e61f8ca45fa1fa892f0d5102808 (diff)
downloadop-kernel-dev-d6b163026c5a6f2e49bc59261b69d44465ebddb4.zip
op-kernel-dev-d6b163026c5a6f2e49bc59261b69d44465ebddb4.tar.gz
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/gpu')
-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 1bcbcfd..1a07fdd 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,
OpenPOWER on IntegriCloud