summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/bridge/adv7511
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-08 17:54:10 +0200
committerArchit Taneja <architt@codeaurora.org>2017-08-09 12:22:32 +0200
commitf4c35e30881a00c582cf2b50862392232c30eb66 (patch)
tree969e89d70fdf756e939ba4d319729a03c540cfaa /drivers/gpu/drm/bridge/adv7511
parentdrm/vc4: Add exec flags to allow forcing a specific X/Y tile walk order. (diff)
downloadlinux-f4c35e30881a00c582cf2b50862392232c30eb66.tar.xz
linux-f4c35e30881a00c582cf2b50862392232c30eb66.zip
drm/bridge: make drm_bridge_funcs const
Make these structures const as they are only stored in the funcs field of drm_bridge structure, which is of type const. Done using Coccinelle. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Archit Taneja <architt@codeaurora.org> Link: https://patchwork.freedesktop.org/patch/msgid/1502207650-20029-1-git-send-email-bhumirks@gmail.com
Diffstat (limited to 'drivers/gpu/drm/bridge/adv7511')
-rw-r--r--drivers/gpu/drm/bridge/adv7511/adv7511_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c b/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c
index 682c090fa3ed..a773a19c3440 100644
--- a/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c
+++ b/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c
@@ -856,7 +856,7 @@ static int adv7511_bridge_attach(struct drm_bridge *bridge)
return ret;
}
-static struct drm_bridge_funcs adv7511_bridge_funcs = {
+static const struct drm_bridge_funcs adv7511_bridge_funcs = {
.enable = adv7511_bridge_enable,
.disable = adv7511_bridge_disable,
.mode_set = adv7511_bridge_mode_set,