diff options
| author | Lu Baolu <[email protected]> | 2022-04-18 00:49:52 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2022-04-28 13:32:20 +0000 |
| commit | 4a6d9dd564d0e7339fc15ecc5ce66db4ad842be2 (patch) | |
| tree | 3a0c6fca984655178ce345bbd65049fb1b7284ae /drivers/base/platform.c | |
| parent | driver core: Add dma_cleanup callback in bus_type (diff) | |
| download | kernel-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.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; |
