diff options
author | Christoph Hellwig <hch@lst.de> | 2018-08-24 11:28:18 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-09-08 12:19:28 +0300 |
commit | dc3c05504d38849f77149cb962caeaedd1efa127 (patch) | |
tree | 93e5ec8eae100c5f4daff9e0062b717721f97a8f /drivers/acpi/arm64 | |
parent | ccf640f4c9988653ef884672381b03b9be247bec (diff) | |
download | linux-dc3c05504d38849f77149cb962caeaedd1efa127.tar.xz |
dma-mapping: remove dma_deconfigure
This goes through a lot of hooks just to call arch_teardown_dma_ops.
Replace it with a direct call instead.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to 'drivers/acpi/arm64')
-rw-r--r-- | drivers/acpi/arm64/iort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/arm64/iort.c b/drivers/acpi/arm64/iort.c index 08f26db2da7e..2a361e22d38d 100644 --- a/drivers/acpi/arm64/iort.c +++ b/drivers/acpi/arm64/iort.c @@ -1428,7 +1428,7 @@ static int __init iort_add_platform_device(struct acpi_iort_node *node, return 0; dma_deconfigure: - acpi_dma_deconfigure(&pdev->dev); + arch_teardown_dma_ops(&pdev->dev); dev_put: platform_device_put(pdev); |