]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: omap: hide filter_fn for built-in drivers
authorArnd Bergmann <arnd@arndb.de>
Thu, 8 May 2014 14:56:12 +0000 (16:56 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 21 May 2014 06:10:49 +0000 (11:40 +0530)
commitd3770fb3b73dd78897a3a10b6b3e3c50481644e1
tree63a8e21ad2d632eec97d2477b6f96a9890e62c04
parent1f1db8020c80d52c83d114a9609980d9fe1d99e2
dmaengine: omap: hide filter_fn for built-in drivers

It is not possible to reference the omap_dma_filter_fn filter
function from a built-in driver if the dmaengine driver itself
is a loadable module, which is a valid configuration otherwise.

This provides only the dummy alternative if the function
is referenced by a built-in driver to allow a successful
build. The filter function is only required by ATAGS based
platforms, which will continue to be broken after this change
for the bogus configuration. When booting from DT, with the
dma channels correctly listed there, it will work fine.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Tony Lindgren <tony@atomide.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: dmaengine@vger.kernel.org
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
include/linux/omap-dma.h