diff options
author | Chunyang Zhong <zhongchunyang@cdjrlc.com> | 2021-12-10 18:28:16 +0800 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-01-29 22:24:25 +0100 |
commit | 4378aaeef31bfac5eae5a1364f3e27c6314566dd (patch) | |
tree | 8c5a09606650a3c502ccbe48e49dbffc158292ee /drivers/video/fbdev/ocfb.c | |
parent | 136851694889a532ab17004d4c5f4e55304dc330 (diff) | |
download | linux-stable-4378aaeef31bfac5eae5a1364f3e27c6314566dd.tar.gz linux-stable-4378aaeef31bfac5eae5a1364f3e27c6314566dd.tar.bz2 linux-stable-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/fbdev/ocfb.c')
-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", }, {}, }; |