platform_device_id are not supposed to change at runtime. All functions working with platform_device_id provided by <linux/platform_device.h> work with const platform_device_id. So mark the non-const structs as const. Arvind Yadav (3): [PATCH 1/3] [media] coda: constify platform_device_id [PATCH 2/3] [media] davinci: constify platform_device_id [PATCH 3/3] [media] omap3isp: constify platform_device_id drivers/media/platform/coda/coda-common.c | 2 +- drivers/media/platform/davinci/vpbe_osd.c | 2 +- drivers/media/platform/davinci/vpbe_venc.c | 2 +- drivers/media/platform/omap3isp/isp.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) -- 2.7.4