Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] media: platform: s3c-camif: 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>

authored by

Krzysztof Kozlowski and committed by
Mauro Carvalho Chehab
ef00b7ae c42639d8

+1 -1
+1 -1
drivers/media/platform/s3c-camif/camif-core.c
··· 628 628 .bus_clk_freq = 133000000UL, 629 629 }; 630 630 631 - static struct platform_device_id s3c_camif_driver_ids[] = { 631 + static const struct platform_device_id s3c_camif_driver_ids[] = { 632 632 { 633 633 .name = "s3c2440-camif", 634 634 .driver_data = (unsigned long)&s3c244x_camif_drvdata,