[PATCH] staging: fbtft: fbtft-bus.c added params

From: Deepanshu Kartikey
Date: Sat Apr 08 2023 - 04:18:55 EST


Added cpu_to_be16 param in define_fbtft_write_reg

Signed-off-by: Deepanshu Kartikey <kartikey406@xxxxxxxxx>
---
drivers/staging/fbtft/fbtft-bus.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/fbtft/fbtft-bus.c b/drivers/staging/fbtft/fbtft-bus.c
index 3d422bc11641..228a5430c1d5 100644
--- a/drivers/staging/fbtft/fbtft-bus.c
+++ b/drivers/staging/fbtft/fbtft-bus.c
@@ -62,9 +62,9 @@ out: \
} \
EXPORT_SYMBOL(func);

-define_fbtft_write_reg(fbtft_write_reg8_bus8, u8, u8, )
-define_fbtft_write_reg(fbtft_write_reg16_bus8, __be16, u16, cpu_to_be16)
-define_fbtft_write_reg(fbtft_write_reg16_bus16, u16, u16, )
+define_fbtft_write_reg(fbtft_write_reg8_bus8, u8, u8, cpu_to_be16);
+define_fbtft_write_reg(fbtft_write_reg16_bus8, __be16, u16, cpu_to_be16);
+define_fbtft_write_reg(fbtft_write_reg16_bus16, u16, u16, cpu_to_be16);

void fbtft_write_reg8_bus9(struct fbtft_par *par, int len, ...)
{
--
2.25.1