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 /include/linux/of_device.h | |
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 'include/linux/of_device.h')
-rw-r--r-- | include/linux/of_device.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/of_device.h b/include/linux/of_device.h index 165fd302b442..8d31e39dd564 100644 --- a/include/linux/of_device.h +++ b/include/linux/of_device.h @@ -58,7 +58,6 @@ static inline struct device_node *of_cpu_device_node_get(int cpu) int of_dma_configure(struct device *dev, struct device_node *np, bool force_dma); -void of_dma_deconfigure(struct device *dev); #else /* CONFIG_OF */ static inline int of_driver_match_device(struct device *dev, @@ -113,8 +112,6 @@ static inline int of_dma_configure(struct device *dev, { return 0; } -static inline void of_dma_deconfigure(struct device *dev) -{} #endif /* CONFIG_OF */ #endif /* _LINUX_OF_DEVICE_H */ |