Commit a1b0e190a3c0c7e1a40877218804a656e45194be
Committed by
Anatolij Gustschin
1 parent
fff6ef72b3
Exists in
master
and in
54 other branches
mx5: Rename mx51_fb_init()
The ipuv3 driver is currently only used on mx51, but it can be extended to work on mx53 and mx6 as well. Rename mx51_fb_init(), so that it can be used by other SoCs. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Jason Liu <r64343@freescale.com>
Showing 4 changed files with 4 additions and 4 deletions Side-by-side Diff
board/freescale/mx51evk/mx51evk.c
board/ttcontrol/vision2/vision2.c
... | ... | @@ -604,7 +604,7 @@ |
604 | 604 | gpio_set_value(2, 1); |
605 | 605 | mxc_request_iomux(MX51_PIN_GPIO1_2, IOMUX_CONFIG_ALT0); |
606 | 606 | |
607 | - ret = mx51_fb_init(&nec_nl6448bc26_09c, 0, IPU_PIX_FMT_RGB666); | |
607 | + ret = ipuv3_fb_init(&nec_nl6448bc26_09c, 0, IPU_PIX_FMT_RGB666); | |
608 | 608 | if (ret) |
609 | 609 | puts("LCD cannot be configured\n"); |
610 | 610 | } |
drivers/video/mxc_ipuv3_fb.c
include/ipu_pixfmt.h
... | ... | @@ -76,7 +76,7 @@ |
76 | 76 | #define IPU_PIX_FMT_YVU422P fourcc('Y', 'V', '1', '6') /*< 16 YVU 4:2:2 */ |
77 | 77 | #define IPU_PIX_FMT_YUV422P fourcc('4', '2', '2', 'P') /*< 16 YUV 4:2:2 */ |
78 | 78 | |
79 | -int mx51_fb_init(struct fb_videomode *mode, uint8_t disp, uint32_t pixfmt); | |
79 | +int ipuv3_fb_init(struct fb_videomode *mode, uint8_t disp, uint32_t pixfmt); | |
80 | 80 | |
81 | 81 | #endif |