diff options
author | Donghwa Lee <dh09.lee@samsung.com> | 2013-08-05 13:34:32 +0900 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2013-08-12 22:39:07 +0200 |
commit | 9c17a32591eeb855305a24f200dbe441c82d0326 (patch) | |
tree | 36ea4b0f9d55f9d2a33447359318bab85b8a61dc /arch | |
parent | 785566312551ee0c3c7e352cb93f30998ebcdd16 (diff) | |
download | u-boot-9c17a32591eeb855305a24f200dbe441c82d0326.tar.gz u-boot-9c17a32591eeb855305a24f200dbe441c82d0326.tar.bz2 u-boot-9c17a32591eeb855305a24f200dbe441c82d0326.zip |
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')
-rw-r--r-- | arch/arm/include/asm/arch-exynos/mipi_dsim.h | 2 |
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 8916d9d16b..498a9ffc04 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); |