summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm2/drm_crtc.h
diff options
context:
space:
mode:
authordumbbell <dumbbell@FreeBSD.org>2013-08-24 16:50:47 +0000
committerdumbbell <dumbbell@FreeBSD.org>2013-08-24 16:50:47 +0000
commit77d7bfc965beaaa735ba81acae2ef279a8c61154 (patch)
tree94b7b3fcd9218ca79bf7ae618ab700c34df9de6e /sys/dev/drm2/drm_crtc.h
parente37ece47a01203ef1b74f4cbb0bc252e38456c4e (diff)
downloadFreeBSD-src-77d7bfc965beaaa735ba81acae2ef279a8c61154.zip
FreeBSD-src-77d7bfc965beaaa735ba81acae2ef279a8c61154.tar.gz
drm: Const'ify the 1st "drm_display_mode" passed to "mode_fixup" callbacks
This will be needed by the Radeon KMS driver.
Diffstat (limited to 'sys/dev/drm2/drm_crtc.h')
-rw-r--r--sys/dev/drm2/drm_crtc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm2/drm_crtc.h b/sys/dev/drm2/drm_crtc.h
index a69c537..0ab2bf4 100644
--- a/sys/dev/drm2/drm_crtc.h
+++ b/sys/dev/drm2/drm_crtc.h
@@ -659,7 +659,7 @@ struct drm_mode_config {
int min_width, min_height;
int max_width, max_height;
- struct drm_mode_config_funcs *funcs;
+ const struct drm_mode_config_funcs *funcs;
resource_size_t fb_base;
/* output poll support */
OpenPOWER on IntegriCloud