mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
LoongArch: Remove the unused dma-direct.h
commit 58aec91efb93338d1cc7acc0a93242613a2a4e5f upstream. dma-direct.h is introduced in commitd4b6f1562a
("LoongArch: Add Non-Uniform Memory Access (NUMA) support"). In commitc78c43fe7d
("LoongArch: Use acpi_arch_dma_setup() and remove ARCH_HAS_PHYS_TO_DMA"), ARCH_HAS_PHYS_TO_DMA was deselected and the coresponding phys_to_dma()/ dma_to_phys() functions were removed. However, the unused dma-direct.h was left behind, which is removed by this patch. Cc: <stable@vger.kernel.org> Fixes:c78c43fe7d
("LoongArch: Use acpi_arch_dma_setup() and remove ARCH_HAS_PHYS_TO_DMA") Signed-off-by: Miao Wang <shankerwangmiao@gmail.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b1922c3102
commit
f6758eb792
1 changed files with 0 additions and 11 deletions
|
@ -1,11 +0,0 @@
|
||||||
/* SPDX-License-Identifier: GPL-2.0 */
|
|
||||||
/*
|
|
||||||
* Copyright (C) 2020-2022 Loongson Technology Corporation Limited
|
|
||||||
*/
|
|
||||||
#ifndef _LOONGARCH_DMA_DIRECT_H
|
|
||||||
#define _LOONGARCH_DMA_DIRECT_H
|
|
||||||
|
|
||||||
dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr);
|
|
||||||
phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr);
|
|
||||||
|
|
||||||
#endif /* _LOONGARCH_DMA_DIRECT_H */
|
|
Loading…
Add table
Add a link
Reference in a new issue