aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm_drv.h
diff options
context:
space:
mode:
authorSean Paul <seanpaul@chromium.org>2019-03-06 09:22:18 -0500
committerSean Paul <seanpaul@chromium.org>2019-03-06 09:22:18 -0500
commitcd7d3a1bb42e0756b17ccfafbd956ca7ed757846 (patch)
treefb76fd0ccaaaa3f27ef0a06ecf3d04ebe9d4025d /include/drm/drm_drv.h
parentdrm/vc4: Add a debugfs entry to disable/enable the load tracker (diff)
parentMerge tag 'drm-misc-fixes-2019-02-22' of git://anongit.freedesktop.org/drm/drm-misc into drm-next (diff)
downloadlinux-dev-cd7d3a1bb42e0756b17ccfafbd956ca7ed757846.tar.xz
linux-dev-cd7d3a1bb42e0756b17ccfafbd956ca7ed757846.zip
Merge drm/drm-next into drm-misc-next
Picking up v5.0 + missed misc-fixes from last release Signed-off-by: Sean Paul <seanpaul@chromium.org>
Diffstat (limited to 'include/drm/drm_drv.h')
-rw-r--r--include/drm/drm_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_drv.h b/include/drm/drm_drv.h
index e81bce2698e3..3224abb1535c 100644
--- a/include/drm/drm_drv.h
+++ b/include/drm/drm_drv.h
@@ -770,7 +770,7 @@ static inline bool drm_dev_is_unplugged(struct drm_device *dev)
*
* Returns true if the @feature is supported, false otherwise.
*/
-static inline bool drm_core_check_feature(struct drm_device *dev, u32 feature)
+static inline bool drm_core_check_feature(const struct drm_device *dev, u32 feature)
{
return dev->driver->driver_features & dev->driver_features & feature;
}