summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-sun6i.c
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-04-22 20:35:14 +0200
committerMark Brown <broonie@kernel.org>2018-04-23 15:48:06 +0100
commit46336966bf0852d76f76c1292c057635b05dbb1b (patch)
treee5bfdfe55d71e6d5aab874f760f6916211fb35c7 /drivers/spi/spi-sun6i.c
parente1f16b0493a01820a137ebbdd96bf695e427fabe (diff)
spi: Expose spi_{map,unmap}_buf() for internal use
spi_{map,unmap}_buf() are needed by the spi-mem logic that is about to be introduced to prepare data buffer for DMA operations. Remove the static specifier on these functions and add their prototypes to drivers/spi/internals.h. We do not export the symbols here because both SPI_MEM and SPI can't be enabled as modules and we'd like to prevent controller/device drivers from using these functions. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-sun6i.c')
0 files changed, 0 insertions, 0 deletions