video: fbdev: ocfb: add const to of_device_id
struct of_device_id should normally be const. Signed-off-by: Chunyang Zhong <zhongchunyang@cdjrlc.com> Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
1368516948
commit
4378aaeef3
|
@ -387,7 +387,7 @@ static int ocfb_remove(struct platform_device *pdev)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct of_device_id ocfb_match[] = {
|
static const struct of_device_id ocfb_match[] = {
|
||||||
{ .compatible = "opencores,ocfb", },
|
{ .compatible = "opencores,ocfb", },
|
||||||
{},
|
{},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue