]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: io.h: Fix signatures of reads/writes functions
authorIgor Prusov <ivprusov@salutedevices.com>
Tue, 14 Nov 2023 11:02:50 +0000 (14:02 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 28 Nov 2023 21:19:06 +0000 (16:19 -0500)
commit55baed4dbb92a04fd1eaf5b7b4b9657737000300
treed92165fea0616aabffcfa773eac7319d84ef45d7
parent7c107ef2053609cbacde12e5d80f14c44f7f68b7
riscv: io.h: Fix signatures of reads/writes functions

Change type of address parameter from int* to volatile void* for
{read,write}s{b,w,l}() functions and add const qualifier for reads. This
is done to keep function signatures in sync with asm-generic/io.h and
other platforms.

Signed-off-by: Igor Prusov <ivprusov@salutedevices.com>
arch/riscv/include/asm/io.h