diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2022-04-18 03:49:52 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2022-04-28 16:32:20 +0300 |
commit | 4a6d9dd564d0e7339fc15ecc5ce66db4ad842be2 (patch) | |
tree | 3a0c6fca984655178ce345bbd65049fb1b7284ae /drivers/base/platform.c | |
parent | 25f3bcfc54bcf7b0e45d140ec8bfbbf10ba11869 (diff) | |
download | linux-4a6d9dd564d0e7339fc15ecc5ce66db4ad842be2.tar.xz |
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 <baolu.lu@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20220418005000.897664-4-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/base/platform.c')
-rw-r--r-- | drivers/base/platform.c | 3 |
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; |