Skip to content
Commit 05d3855b authored by Vladimir Oltean's avatar Vladimir Oltean Committed by Arnd Bergmann
Browse files

asm-generic/io.h: suppress endianness warnings for relaxed accessors



Copy the forced type casts from the normal MMIO accessors to suppress
the sparse warnings that point out __raw_readl() returns a native endian
word (just like readl()).

Signed-off-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent d564fa1f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment