mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
media: omap3isp: constify platform_device_id
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. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
2bd4290f6b
commit
05a7c22c2f
1 changed files with 1 additions and 1 deletions
|
@ -2389,7 +2389,7 @@ static const struct dev_pm_ops omap3isp_pm_ops = {
|
||||||
.complete = isp_pm_complete,
|
.complete = isp_pm_complete,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct platform_device_id omap3isp_id_table[] = {
|
static const struct platform_device_id omap3isp_id_table[] = {
|
||||||
{ "omap3isp", 0 },
|
{ "omap3isp", 0 },
|
||||||
{ },
|
{ },
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue