aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/ucc_geth.c
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2021-01-19 16:07:49 +0100
committerJakub Kicinski <kuba@kernel.org>2021-01-21 12:19:55 -0800
commit186b8daffb4ec2dabb8a3d93b329b16152a5a100 (patch)
treec6673b060639f8c744b0d20df0d32c045b037bbf /drivers/net/ethernet/freescale/ucc_geth.c
parentsoc: fsl: qe: store muram_vbase as a void pointer instead of u8 (diff)
downloadlinux-dev-186b8daffb4ec2dabb8a3d93b329b16152a5a100.tar.xz
linux-dev-186b8daffb4ec2dabb8a3d93b329b16152a5a100.zip
soc: fsl: qe: add cpm_muram_free_addr() helper
Add a helper that takes a virtual address rather than the muram offset. This will be used in a couple of places to avoid having to store both the offset and the virtual address, as well as removing NULL checks from the callers. 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 'drivers/net/ethernet/freescale/ucc_geth.c')
0 files changed, 0 insertions, 0 deletions