summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2017-11-07 20:13:37 +0100
committerNoralf Trønnes <noralf@tronnes.org>2017-11-11 11:19:37 +0100
commitbf38b0550359ee7a78244d17ed49d3c557cceb01 (patch)
tree0bae8af78d85ece4e4c81510a5af55fdfc01cc01 /include/drm
parenta86f25518e3ab7aec2d44b195835fd8d22d0eada (diff)
downloadtalos-obmc-linux-bf38b0550359ee7a78244d17ed49d3c557cceb01.tar.gz
talos-obmc-linux-bf38b0550359ee7a78244d17ed49d3c557cceb01.zip
drm/vma-manager: drm_vma_node_start() constify argument
Constify argument so functions calling into this take a const argument. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Link: https://patchwork.freedesktop.org/patch/msgid/20171107191348.17555-2-noralf@tronnes.org
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_vma_manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_vma_manager.h b/include/drm/drm_vma_manager.h
index d84d52f6d2b1..8758df94e9a0 100644
--- a/include/drm/drm_vma_manager.h
+++ b/include/drm/drm_vma_manager.h
@@ -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
* 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;
}
OpenPOWER on IntegriCloud