cma: Add vc_cma driver to enable use of CMA
authorpopcornmix <popcornmix@gmail.com>
Tue, 2 Jul 2013 23:31:47 +0000 (00:31 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:44:52 +0000 (15:44 +0100)
commitc81a080adfdcdf54e4ab627914abc0b1969a8b5d
tree2b572bc2a305a2c7270a04e919a6e2c89e34559f
parent616e4992757146071c4ac66301a13cc8585d7ba6
cma: Add vc_cma driver to enable use of CMA

Signed-off-by: popcornmix <popcornmix@gmail.com>
vc_cma: Make the vc_cma area the default contiguous DMA area

vc_cma: Provide empty functions when module is not built

Providing empty functions saves the users from guarding the
function call with an #if clause.
Move __init markings from prototypes to functions.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
drivers/char/Kconfig
drivers/char/Makefile
drivers/char/broadcom/Kconfig [new file with mode: 0644]
drivers/char/broadcom/Makefile [new file with mode: 0644]
drivers/char/broadcom/vc_cma/Makefile [new file with mode: 0644]
drivers/char/broadcom/vc_cma/vc_cma.c [new file with mode: 0644]
include/linux/broadcom/vc_cma.h [new file with mode: 0644]