linux/arch/sh/kernel/cpu/sh2
John Paul Adrian Glaubitz bc9d1f0cec sh: j2: Use ioremap() to translate device tree address into kernel memory
Addresses the following warning when building j2_defconfig:

arch/sh/kernel/cpu/sh2/probe.c: In function 'scan_cache':
arch/sh/kernel/cpu/sh2/probe.c:24:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   24 |  j2_ccr_base = (u32 __iomem *)of_flat_dt_translate_address(node);
      |

Fixes: 5a846abad0 ("sh: add support for J-Core J2 processor")
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Rob Landley <rob@landley.net>
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/20230503125746.331835-1-glaubitz@physik.fu-berlin.de
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
2023-05-10 08:19:46 +02:00
..
clock-sh7619.c sh: sh2: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
entry.S sh: sh2: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
ex.S sh: sh2: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
Makefile sh: sh2: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
probe.c sh: j2: Use ioremap() to translate device tree address into kernel memory 2023-05-10 08:19:46 +02:00
setup-sh7619.c sh: add the sh_ prefix to early platform symbols 2019-10-07 13:50:48 +02:00
smp-j2.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00