]> git.baikalelectronics.ru Git - kernel.git/commit
dma: omap: hide legacy interface
authorArnd Bergmann <arnd@arndb.de>
Fri, 1 Apr 2022 22:28:23 +0000 (00:28 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 22 Apr 2022 09:08:43 +0000 (11:08 +0200)
commit307e7a4920a2eed22f03bf15ebe660a756e99409
treed25b0d3364958acc3e47aaba72551fe837424f84
parent4890a514c38357f6d0d3b144528f5282c31bd2ee
dma: omap: hide legacy interface

The legacy interface for omap-dma is only used on OMAP1, and the
same is true for the non-DT case. Make both of these conditional on
CONFIG_ARCH_OMAP1 being set to simplify the dependency.

The non-OMAP stub functions in include/linux/omap-dma.h are note needed
any more either now, because they are only called on OMAP1.

Acked-by: Tony Lindgren <tony@atomide.com>
Acked-By: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/dma/ti/omap-dma.c
include/linux/omap-dma.h