commit | 7e22c85918e68e6df50d01d08585f88fbbaf3456 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Sun Sep 12 11:15:11 2021 +0800 |
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | Wed Oct 20 10:59:09 2021 +0800 |
tree | 1378d68ddda9780d5c056d69e3ea6a03b8c21fe4 | |
parent | d710c7e84187088cb157ab4131ca50a1236a931a [diff] |
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>