Skip to content
Permalink
Browse files
drm/tilcdc: add const to of_device_id
struct of_device_id should normally be const.

Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
  • Loading branch information
Xiang wangx authored and intel-lab-lkp committed Dec 15, 2021
1 parent 244a36e commit 5698eadb76d94a4fc5298f5bea88b839399ddef0
Showing 1 changed file with 1 addition and 1 deletion.
@@ -587,7 +587,7 @@ static int tilcdc_pdev_remove(struct platform_device *pdev)
return 0;
}

static struct of_device_id tilcdc_of_match[] = {
static const struct of_device_id tilcdc_of_match[] = {
{ .compatible = "ti,am33xx-tilcdc", },
{ .compatible = "ti,da850-tilcdc", },
{ },

0 comments on commit 5698ead

Please sign in to comment.