1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-31 10:26:10 +01:00
Files
u-boot-megous/drivers/i2c/ocores_i2c.c
Bin Meng 7e22c85918 i2c: ocores: Fix -Wint-to-pointer-cast warning
The following warning is seen in ocores_i2c.c in a 32-bit build:

  warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

Change to use dev_read_addr_ptr().

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
2021-10-20 10:59:09 +08:00

15 KiB