From: Krzysztof Kozlowski Date: Fri, 1 May 2015 15:43:07 +0000 (-0300) Subject: [media] staging: media: omap4iss: Constify platform_device_id X-Git-Tag: v4.2-rc1~107^2~346 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=44d6ac60816c25374b84b11ec71e44e01c5f1a3c;p=karo-tx-linux.git [media] staging: media: omap4iss: 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 Acked-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/media/omap4iss/iss.c b/drivers/staging/media/omap4iss/iss.c index 7ced940bd807..9bfb725b9986 100644 --- a/drivers/staging/media/omap4iss/iss.c +++ b/drivers/staging/media/omap4iss/iss.c @@ -1489,7 +1489,7 @@ static int iss_remove(struct platform_device *pdev) return 0; } -static struct platform_device_id omap4iss_id_table[] = { +static const struct platform_device_id omap4iss_id_table[] = { { "omap4iss", 0 }, { }, };