From 09c8bb264f27b89f31c5b6cbdab2393d68743e4e Mon Sep 17 00:00:00 2001 From: Eric Nelson Date: Wed, 3 Oct 2012 07:27:38 +0000 Subject: i.MX video: struct fb_videomode can be const Signed-off-by: Eric Nelson --- include/ipu_pixfmt.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/ipu_pixfmt.h') diff --git a/include/ipu_pixfmt.h b/include/ipu_pixfmt.h index 4baa71187d..1163bf4b4e 100644 --- a/include/ipu_pixfmt.h +++ b/include/ipu_pixfmt.h @@ -76,7 +76,9 @@ #define IPU_PIX_FMT_YVU422P fourcc('Y', 'V', '1', '6') /*< 16 YVU 4:2:2 */ #define IPU_PIX_FMT_YUV422P fourcc('4', '2', '2', 'P') /*< 16 YUV 4:2:2 */ -int ipuv3_fb_init(struct fb_videomode *mode, uint8_t disp, uint32_t pixfmt); +int ipuv3_fb_init(struct fb_videomode const *mode, + uint8_t disp, + uint32_t pixfmt); void ipuv3_fb_shutdown(void); #endif -- cgit v1.2.1