diff options
author | Maxime Chevallier <maxime.chevallier@smile.fr> | 2018-01-24 17:10:47 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-01-24 18:03:13 +0300 |
commit | 162f8debc01f48ac984ed6d7291743053ec90271 (patch) | |
tree | 18672497a16093a6c28bf3d3ea8d64895387049a /include/net/ip.h | |
parent | f68a7dcb91b7957c5bb1c3e347775332af719519 (diff) | |
download | linux-162f8debc01f48ac984ed6d7291743053ec90271.tar.xz |
spi: a3700: Remove endianness swapping functions when accessing FIFOs
Fixes the following sparse warnings :
line 504: warning: incorrect type in assignment (different base types)
line 504: expected unsigned int [unsigned] [usertype] val
line 504: got restricted __le32 [usertype] <noident>
line 527: warning: cast to restricted __le32
This is solved by removing endian-converson functions, since the
converted values are going through readl/writel anyway, which take care
of the conversion.
Fixes: 6fd6fd68c9e2 ("spi: armada-3700: Fix padding when sending not 4-byte aligned data")
Signed-off-by: Maxime Chevallier <maxime.chevallier@smile.fr>
Reviewed-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/net/ip.h')
0 files changed, 0 insertions, 0 deletions