Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Chunyang Zhong and committed by
Helge Deller
4378aaee 13685169

+1 -1
+1 -1
drivers/video/fbdev/ocfb.c
··· 387 387 return 0; 388 388 } 389 389 390 - static struct of_device_id ocfb_match[] = { 390 + static const struct of_device_id ocfb_match[] = { 391 391 { .compatible = "opencores,ocfb", }, 392 392 {}, 393 393 };