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)
commit52ef8efcb75e8a8aab88e74c1376c2785d9a5452
treed25b0d3364958acc3e47aaba72551fe837424f84
parent17ea03b75e5665c9ce4945aa5afd097f3c845cdf
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