diff options
author | Chunyang Zhong <zhongchunyang@cdjrlc.com> | 2021-12-10 11:28:16 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-01-29 22:24:25 +0100 |
commit | 4378aaeef31bfac5eae5a1364f3e27c6314566dd (patch) | |
tree | 8c5a09606650a3c502ccbe48e49dbffc158292ee /drivers/video | |
parent | dt-bindings: simple-framebuffer: allow standalone compatible (diff) | |
download | linux-4378aaeef31bfac5eae5a1364f3e27c6314566dd.tar.xz linux-4378aaeef31bfac5eae5a1364f3e27c6314566dd.zip |
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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/fbdev/ocfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/ocfb.c b/drivers/video/fbdev/ocfb.c index bfa4ed421148..da7e1457e58f 100644 --- a/drivers/video/fbdev/ocfb.c +++ b/drivers/video/fbdev/ocfb.c @@ -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", }, {}, }; |