summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/rcar-du/rcar_du_lvdscon.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2016-10-03 16:56:48 +0300
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2016-11-14 03:35:12 +0200
commit48b03494c8ae136df7806f0f467596629744000c (patch)
tree7d5dff349e55271a7415fe803dbbe6a4698fe862 /drivers/gpu/drm/rcar-du/rcar_du_lvdscon.h
parentf5a000c9f8c19608f19f16d01338f0738ce3757f (diff)
downloadlinux-stable-48b03494c8ae136df7806f0f467596629744000c.tar.gz
linux-stable-48b03494c8ae136df7806f0f467596629744000c.tar.bz2
linux-stable-48b03494c8ae136df7806f0f467596629744000c.zip
drm: rcar-du: Constify node argument to rcar_du_lvds_connector_init()
The node passed as a pointer to the rcar_du_lvds_connector_init() function is never modified, make it const. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'drivers/gpu/drm/rcar-du/rcar_du_lvdscon.h')
-rw-r--r--drivers/gpu/drm/rcar-du/rcar_du_lvdscon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_lvdscon.h b/drivers/gpu/drm/rcar-du/rcar_du_lvdscon.h
index d4881ee0be7e..639071dd235c 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_lvdscon.h
+++ b/drivers/gpu/drm/rcar-du/rcar_du_lvdscon.h
@@ -19,6 +19,6 @@ struct rcar_du_encoder;
int rcar_du_lvds_connector_init(struct rcar_du_device *rcdu,
struct rcar_du_encoder *renc,
- struct device_node *np);
+ const struct device_node *np);
#endif /* __RCAR_DU_LVDSCON_H__ */