fbdev: mx3fb: const pointer to ipu_di_signal_cfg
authorSam Ravnborg <sam@ravnborg.org>
Wed, 8 Apr 2020 18:29:26 +0000 (20:29 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Sun, 12 Apr 2020 20:09:35 +0000 (22:09 +0200)
Laurent Pinchart <laurent.pinchart@ideasonboard.com> and
Jani Nikula <jani.nikula@intel.com> both
suggested to make the pointer to struct ipu_di_signal_cfg const.

Fix this.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Fixes: 3f6c93ec9254 ("fbdev: mx3fb: avoid warning about psABI change")
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Enrico Weigelt <info@metux.net>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: linux-fbdev@vger.kernel.org
Link: https://patchwork.freedesktop.org/patch/msgid/20200408182926.GA21997@ravnborg.org
drivers/video/fbdev/mx3fb.c

index e13fea3a292f4f1347a4adb1e969e785ff4ae1d0..603731a5a72ed6d2ae216d7424b543701cb3980c 100644 (file)
@@ -509,7 +509,7 @@ static int sdc_init_panel(struct mx3fb_data *mx3fb, enum ipu_panel panel,
                          uint16_t h_start_width, uint16_t h_sync_width,
                          uint16_t h_end_width, uint16_t v_start_width,
                          uint16_t v_sync_width, uint16_t v_end_width,
-                         struct ipu_di_signal_cfg *sig)
+                         const struct ipu_di_signal_cfg *sig)
 {
        unsigned long lock_flags;
        uint32_t reg;