Commit c42639d8 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Mauro Carvalho Chehab

[media] media: platform: exynos4-is: Constify platform_device_id

The platform_device_id is not modified by the driver and core uses it as
const.
Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: default avatarKamil Debski <k.debski@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 40437e70
...@@ -1451,7 +1451,7 @@ static int fimc_md_remove(struct platform_device *pdev) ...@@ -1451,7 +1451,7 @@ static int fimc_md_remove(struct platform_device *pdev)
return 0; 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" }, { .name = "s5p-fimc-md" },
{ }, { },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment