[media] media: platform: exynos4-is: Constify platform_device_id
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Fri, 1 May 2015 15:51:01 +0000 (12:51 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 12 May 2015 06:48:40 +0000 (03:48 -0300)
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>
drivers/media/platform/exynos4-is/media-dev.c

index f315ef946cd423b776f1c559f78839dd13144009..4f5586a4cbffa05d8f2079696806622337fead70 100644 (file)
@@ -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" },
        { },
 };