diff options
author | Krzysztof Kozlowski <k.kozlowski.k@gmail.com> | 2015-05-01 17:51:01 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-05-12 08:48:40 +0200 |
commit | c42639d8a6beb03e2725e8a1ae1d1c6b30cdde7b (patch) | |
tree | 36e2b96992ab0b933c8094cecafaac79116b4681 /drivers/media/platform/exynos4-is/media-dev.c | |
parent | [media] media: platform: exynos-gsc: Constify platform_device_id (diff) | |
download | linux-c42639d8a6beb03e2725e8a1ae1d1c6b30cdde7b.tar.xz linux-c42639d8a6beb03e2725e8a1ae1d1c6b30cdde7b.zip |
[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: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/media/platform/exynos4-is/media-dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/exynos4-is/media-dev.c b/drivers/media/platform/exynos4-is/media-dev.c index f315ef946cd4..4f5586a4cbff 100644 --- a/drivers/media/platform/exynos4-is/media-dev.c +++ b/drivers/media/platform/exynos4-is/media-dev.c @@ -1451,7 +1451,7 @@ static int fimc_md_remove(struct platform_device *pdev) 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" }, { }, }; |