]> Pileus Git - ~andy/linux/blobdiff - drivers/gpu/drm/exynos/exynos_drm_drv.h
drm: Make the .mode_fixup() operations mode argument a const pointer
[~andy/linux] / drivers / gpu / drm / exynos / exynos_drm_drv.h
index c82c90c443e724436dfc2efe456ce052d4f6be9e..277653d5fda0704dcbad615b1ec1d64f7bedc5f7 100644 (file)
@@ -174,7 +174,7 @@ struct exynos_drm_manager_ops {
        void (*apply)(struct device *subdrv_dev);
        void (*mode_fixup)(struct device *subdrv_dev,
                                struct drm_connector *connector,
-                               struct drm_display_mode *mode,
+                               const struct drm_display_mode *mode,
                                struct drm_display_mode *adjusted_mode);
        void (*mode_set)(struct device *subdrv_dev, void *mode);
        void (*get_max_resol)(struct device *subdrv_dev, unsigned int *width,