summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorDonghwa Lee <dh09.lee@samsung.com>2013-08-05 13:34:32 +0900
committerAnatolij Gustschin <agust@denx.de>2013-08-12 22:39:07 +0200
commit9c17a32591eeb855305a24f200dbe441c82d0326 (patch)
tree36ea4b0f9d55f9d2a33447359318bab85b8a61dc /arch/arm
parent785566312551ee0c3c7e352cb93f30998ebcdd16 (diff)
downloadu-boot-imx-9c17a32591eeb855305a24f200dbe441c82d0326.zip
u-boot-imx-9c17a32591eeb855305a24f200dbe441c82d0326.tar.gz
u-boot-imx-9c17a32591eeb855305a24f200dbe441c82d0326.tar.bz2
exynos: video: change mipi dsi write function parameters correctly
This patch have changed mipi dsi write functions' parameters correctly so that type cast operations were removed. And mipi dsi payload is composed with array of panel commands to improve readability. Signed-off-by: Donghwa Lee <dh09.lee@samsung.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/include/asm/arch-exynos/mipi_dsim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-exynos/mipi_dsim.h b/arch/arm/include/asm/arch-exynos/mipi_dsim.h
index 8916d9d..498a9ff 100644
--- a/arch/arm/include/asm/arch-exynos/mipi_dsim.h
+++ b/arch/arm/include/asm/arch-exynos/mipi_dsim.h
@@ -291,7 +291,7 @@ struct exynos_platform_mipi_dsim {
*/
struct mipi_dsim_master_ops {
int (*cmd_write)(struct mipi_dsim_device *dsim, unsigned int data_id,
- unsigned int data0, unsigned int data1);
+ const unsigned char *data0, unsigned int data1);
int (*cmd_read)(struct mipi_dsim_device *dsim, unsigned int data_id,
unsigned int data0, unsigned int data1);
int (*get_dsim_frame_done)(struct mipi_dsim_device *dsim);