summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/sti/sti_hdmi.c
diff options
context:
space:
mode:
authorKiran Padwal <kiran.padwal@smartplayin.com>2014-08-26 14:25:24 +0400
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>2014-08-26 16:16:58 +0400
commit8e932cf0eb41a5a2294be76898433d1f137867be (patch)
tree8f56aab7c3acddd698587dd3511ba9fd626e5610 /drivers/gpu/drm/sti/sti_hdmi.c
parenteacd9aa98bdeef5ba19072d3f07dfcccd24988f2 (diff)
downloadlinux-8e932cf0eb41a5a2294be76898433d1f137867be.tar.xz
drm: sti: Make of_device_id array const
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Kiran Padwal <kiran.padwal@smartplayin.com>
Diffstat (limited to 'drivers/gpu/drm/sti/sti_hdmi.c')
-rw-r--r--drivers/gpu/drm/sti/sti_hdmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/sti/sti_hdmi.c b/drivers/gpu/drm/sti/sti_hdmi.c
index 8319f764c18e..ef93156a69c6 100644
--- a/drivers/gpu/drm/sti/sti_hdmi.c
+++ b/drivers/gpu/drm/sti/sti_hdmi.c
@@ -677,7 +677,7 @@ static const struct component_ops sti_hdmi_ops = {
.unbind = sti_hdmi_unbind,
};
-static struct of_device_id hdmi_of_match[] = {
+static const struct of_device_id hdmi_of_match[] = {
{
.compatible = "st,stih416-hdmi",
.data = &tx3g0c55phy_ops,