diff options
| author | Sam Protsenko <[email protected]> | 2024-08-07 22:14:23 -0500 |
|---|---|---|
| committer | Minkyu Kang <[email protected]> | 2024-08-19 16:09:06 +0900 |
| commit | ff2b88365d91120d63434e1b616da739066b11df (patch) | |
| tree | afb60ad8f4775691644dc475200d15971706faca /include/linux/unaligned | |
| parent | 29b4ff362ad76947feb1506a27791a2dd975adab (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 <[email protected]>
Signed-off-by: Minkyu Kang <[email protected]>
Diffstat (limited to 'include/linux/unaligned')
0 files changed, 0 insertions, 0 deletions
