]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: lvds-codec: Constify the drm_bridge_funcs structure
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 24 Feb 2020 23:00:56 +0000 (01:00 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Tue, 25 Feb 2020 10:14:43 +0000 (11:14 +0100)
commit115a27e7d975478ed89790baecabfd7c3ef44833
treee4a89e6f3bce35be9bfb418f9091ccf7684602b9
parentd3e7e50c8331603c953fc91324f2f64ec8a23ee6
drm/bridge: lvds-codec: Constify the drm_bridge_funcs structure

The drm_bridge_funcs structure is never modified, make it const. Making
it read-only can improve security as the structure contains function
pointers.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200224230056.2157-1-laurent.pinchart+renesas@ideasonboard.com
drivers/gpu/drm/bridge/lvds-codec.c