commit | 40d89adaa0e90ade3213f417da191eafc32bac71 | [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 | 95b03aa60a6dce3b489ea61735815bb6ab7d4981 [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>