Commit bf38b055 authored by Noralf Trønnes's avatar Noralf Trønnes

drm/vma-manager: drm_vma_node_start() constify argument

Constify argument so functions calling into this take a const argument.
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarNoralf Trønnes <noralf@tronnes.org>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171107191348.17555-2-noralf@tronnes.org
parent a86f2551
...@@ -152,7 +152,7 @@ static inline void drm_vma_node_reset(struct drm_vma_offset_node *node) ...@@ -152,7 +152,7 @@ static inline void drm_vma_node_reset(struct drm_vma_offset_node *node)
* Start address of @node for page-based addressing. 0 if the node does not * Start address of @node for page-based addressing. 0 if the node does not
* have an offset allocated. * have an offset allocated.
*/ */
static inline unsigned long drm_vma_node_start(struct drm_vma_offset_node *node) static inline unsigned long drm_vma_node_start(const struct drm_vma_offset_node *node)
{ {
return node->vm_node.start; return node->vm_node.start;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment