summaryrefslogtreecommitdiff
path: root/drivers/timer/mtk_timer.c
diff options
context:
space:
mode:
authorSam Protsenko <semen.protsenko@linaro.org>2024-08-07 22:14:23 -0500
committerMinkyu Kang <mk7.kang@samsung.com>2024-08-19 16:09:06 +0900
commitff2b88365d91120d63434e1b616da739066b11df (patch)
treeafb60ad8f4775691644dc475200d15971706faca /drivers/timer/mtk_timer.c
parent29b4ff362ad76947feb1506a27791a2dd975adab (diff)
mmc: exynos_dw_mmc: Fix obtaining the base address of controller
Getting the base address with outdated fdtdec_get_addr() API and further casting it to (void *) leads to next build warning on ARM64 platforms: In function 'exynos_dwmci_get_config': warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] host->ioaddr = (void *)base; Use livetree API instead (dev_read_addr_ptr()), which handles this correctly. Fixes: a082a2dde061 ("EXYNOS5: DWMMC: Added FDT support for DWMMC") Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'drivers/timer/mtk_timer.c')
0 files changed, 0 insertions, 0 deletions