aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/platform.c
diff options
context:
space:
mode:
authorLu Baolu <[email protected]>2022-04-18 00:49:52 +0000
committerJoerg Roedel <[email protected]>2022-04-28 13:32:20 +0000
commit4a6d9dd564d0e7339fc15ecc5ce66db4ad842be2 (patch)
tree3a0c6fca984655178ce345bbd65049fb1b7284ae /drivers/base/platform.c
parentdriver core: Add dma_cleanup callback in bus_type (diff)
downloadkernel-4a6d9dd564d0e7339fc15ecc5ce66db4ad842be2.tar.gz
kernel-4a6d9dd564d0e7339fc15ecc5ce66db4ad842be2.zip
amba: Stop sharing platform_dma_configure()
Stop sharing platform_dma_configure() helper as they are about to have their own bus dma_configure callbacks. Signed-off-by: Lu Baolu <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/base/platform.c')
-rw-r--r--drivers/base/platform.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/base/platform.c b/drivers/base/platform.c
index 8cc272fd5c99..d7915734d931 100644
--- a/drivers/base/platform.c
+++ b/drivers/base/platform.c
@@ -1454,8 +1454,7 @@ static void platform_shutdown(struct device *_dev)
drv->shutdown(dev);
}
-
-int platform_dma_configure(struct device *dev)
+static int platform_dma_configure(struct device *dev)
{
enum dev_dma_attr attr;
int ret = 0;