]> 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)
commit742c1ae4e42ef71aa5ff67b435e37aae8e5452d9
tree969e89d70fdf756e939ba4d319729a03c540cfaa
parentdfa7143e36fadef3186121f37cc0726ed274757f
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