]> git.baikalelectronics.ru Git - kernel.git/commit
soc: fsl: qe: make cpm_muram_offset take a const void* argument
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Tue, 19 Jan 2021 15:07:47 +0000 (16:07 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 21 Jan 2021 20:19:55 +0000 (12:19 -0800)
commit425369b96aeaacb07df317b7b84e2c5ab07828ab
tree2aeb007f39a50841a224ffc2235e54f1cdbe6890
parent1d4dfd96ab8af090438f34bab23ac402b8059133
soc: fsl: qe: make cpm_muram_offset take a const void* argument

Allow passing const-qualified pointers without requiring a cast in the
caller.

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>
drivers/soc/fsl/qe/qe_common.c
include/soc/fsl/qe/qe.h