[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>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Mauro Carvalho Chehab

vecāks
52722ca8c5
revīzija
7f099a7558
@@ -319,7 +319,7 @@ static int hix5hd2_ir_resume(struct device *dev)
|
||||
static SIMPLE_DEV_PM_OPS(hix5hd2_ir_pm_ops, hix5hd2_ir_suspend,
|
||||
hix5hd2_ir_resume);
|
||||
|
||||
static struct of_device_id hix5hd2_ir_table[] = {
|
||||
static const struct of_device_id hix5hd2_ir_table[] = {
|
||||
{ .compatible = "hisilicon,hix5hd2-ir", },
|
||||
{},
|
||||
};
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user