[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211215161803.5900-1-wangxiang@cdjrlc.com>
Date: Thu, 16 Dec 2021 00:18:03 +0800
From: Xiang wangx <wangxiang@...rlc.com>
To: jyri.sarha@....fi
Cc: tomba@...nel.org, airlied@...ux.ie, daniel@...ll.ch,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
Xiang wangx <wangxiang@...rlc.com>
Subject: [PATCH] drm/tilcdc: add const to of_device_id
struct of_device_id should normally be const.
Signed-off-by: Xiang wangx <wangxiang@...rlc.com>
---
drivers/gpu/drm/tilcdc/tilcdc_drv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
index 3ddb7c710a3d..d23ed0e2e87b 100644
--- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c
+++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
@@ -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", },
{ },
--
2.20.1
Powered by blists - more mailing lists