diff mbox series

[1/1] compulab: imx8mm-cl-iot-gate: Fix some function declarations in ddr.h

Message ID 20230313182620.1153143-2-paulliu@debian.org
State New
Headers show
Series compulab: imx8mm-cl-iot-gate: Fix some function declarations in ddr.h | expand

Commit Message

Paul Liu March 13, 2023, 6:26 p.m. UTC
We have a few places here that the function declarations do not
match their prototypes, correct them.

Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Cc: Tom Rini <trini@konsulko.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: NXP i.MX U-Boot Team <uboot-imx@nxp.com>
---
 board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Tom Rini March 13, 2023, 6:27 p.m. UTC | #1
On Tue, Mar 14, 2023 at 02:26:20AM +0800, Ying-Chun Liu (PaulLiu) wrote:

> We have a few places here that the function declarations do not
> match their prototypes, correct them.
> 
> Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
> Cc: Tom Rini <trini@konsulko.com>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Fabio Estevam <festevam@gmail.com>
> Cc: NXP i.MX U-Boot Team <uboot-imx@nxp.com>

Thanks for fixing this.

Reviewed-by: Tom Rini <trini@konsulko.com>
Fabio Estevam March 13, 2023, 6:55 p.m. UTC | #2
On Mon, Mar 13, 2023 at 3:26 PM Ying-Chun Liu (PaulLiu)
<paul.liu@linaro.org> wrote:
>
> We have a few places here that the function declarations do not
> match their prototypes, correct them.
>
> Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
> Cc: Tom Rini <trini@konsulko.com>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Fabio Estevam <festevam@gmail.com>
> Cc: NXP i.MX U-Boot Team <uboot-imx@nxp.com>

Reported-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
diff mbox series

Patch

diff --git a/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h b/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h
index f7d4fdc101..508b4a565c 100644
--- a/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h
+++ b/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h
@@ -25,7 +25,7 @@  struct lpddr4_tcm_desc {
 
 u32 cl_eeprom_get_ddrinfo(void);
 u32 cl_eeprom_set_ddrinfo(u32 ddrinfo);
-u32 cl_eeprom_get_subind(void);
-u32 cl_eeprom_set_subind(u32 subind);
+u8 cl_eeprom_get_subind(void);
+u8 cl_eeprom_set_subind(u8 subind);
 u32 cl_eeprom_get_osize(void);
 #endif