]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: make drm_bridge_funcs const
authorBhumika Goyal <bhumirks@gmail.com>
Tue, 8 Aug 2017 15:54:10 +0000 (21:24 +0530)
committerArchit Taneja <architt@codeaurora.org>
Wed, 9 Aug 2017 10:22:32 +0000 (15:52 +0530)
commitb47c2815d14259d89e1486ead6aa3957502a9c64
tree969e89d70fdf756e939ba4d319729a03c540cfaa
parent5292bce855a571fade3a93c580f9d985a58d26f0
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
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c