aboutsummaryrefslogtreecommitdiffstats
path: root/include/soc
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2021-01-19 16:07:48 +0100
committerJakub Kicinski <kuba@kernel.org>2021-01-21 12:19:55 -0800
commit155ea0dc8dcb6066aaf4af5addd005b8968ce820 (patch)
tree5d82c5a9d6d77083035bb538f75ea5c87fec9a42 /include/soc
parentsoc: fsl: qe: make cpm_muram_offset take a const void* argument (diff)
downloadlinux-dev-155ea0dc8dcb6066aaf4af5addd005b8968ce820.tar.xz
linux-dev-155ea0dc8dcb6066aaf4af5addd005b8968ce820.zip
soc: fsl: qe: store muram_vbase as a void pointer instead of u8
The two functions cpm_muram_offset() and cpm_muram_dma() both need a cast currently, one casts muram_vbase to do the pointer arithmetic on void pointers, the other casts the passed-in address u8*. It's simpler and more consistent to just always use void* and drop all the casting. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Acked-by: Li Yang <leoyang.li@nxp.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/soc')
0 files changed, 0 insertions, 0 deletions