summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2012-10-03 07:27:38 +0000
committerStefano Babic <sbabic@denx.de>2012-10-16 12:35:11 +0200
commit09c8bb264f27b89f31c5b6cbdab2393d68743e4e (patch)
treecc638e0d1b8f3fdc29c0a6b1633f1c876e109251 /include
parent6e14232010ad7d105e40511ff5e19a3990050511 (diff)
downloadu-boot-imx-09c8bb264f27b89f31c5b6cbdab2393d68743e4e.zip
u-boot-imx-09c8bb264f27b89f31c5b6cbdab2393d68743e4e.tar.gz
u-boot-imx-09c8bb264f27b89f31c5b6cbdab2393d68743e4e.tar.bz2
i.MX video: struct fb_videomode can be const
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Diffstat (limited to 'include')
-rw-r--r--include/ipu_pixfmt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ipu_pixfmt.h b/include/ipu_pixfmt.h
index 4baa711..1163bf4 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