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:
Chunyang Zhong 2021-12-10 18:28:16 +08:00 committed by Helge Deller
parent 1368516948
commit 4378aaeef3

View File

@ -387,7 +387,7 @@ static int ocfb_remove(struct platform_device *pdev)
return 0;
}
static struct of_device_id ocfb_match[] = {
static const struct of_device_id ocfb_match[] = {
{ .compatible = "opencores,ocfb", },
{},
};