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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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", },
	{},
};