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>
Sun, 8 Oct 2017 00:59:45 +0000 (00:59 +0000)
commit8f7cd0e223bb8b2a26471ab4b9cdda831521c8cc
tree5eb28ebe4fc56fdcd3491ed4b9ef0b58dc944484
parent1fb32915e3e92ffe2ddb7bd6bcc26463c0019f97
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]