[media] constify of_device_id array

of_device_id is always used as const.
(See driver.of_match_table and open firmware functions)

[mchehab@osg.samsung.com: fix a merge conflict at adv7604.c]
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
Fabian Frederick
2015-03-16 16:54:33 -03:00
gecommit door Mauro Carvalho Chehab
bovenliggende 52722ca8c5
commit 7f099a7558
6 gewijzigde bestanden met toevoegingen van 7 en 7 verwijderingen

Bestand weergeven

@@ -1664,7 +1664,7 @@ static int viu_resume(struct platform_device *op)
/*
* Initialization and module stuff
*/
static struct of_device_id mpc512x_viu_of_match[] = {
static const struct of_device_id mpc512x_viu_of_match[] = {
{
.compatible = "fsl,mpc5121-viu",
},