Commit 4378aaee authored by Chunyang Zhong's avatar Chunyang Zhong Committed by Helge Deller

video: fbdev: ocfb: add const to of_device_id

struct of_device_id should normally be const.
Signed-off-by: default avatarChunyang Zhong <zhongchunyang@cdjrlc.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 13685169
......@@ -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", },
{},
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment