From 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 13 May 2024 10:30:14 +0000 Subject: [PATCH] modify sin led gpio --- kernel/arch/ia64/kernel/dma-mapping.c | 17 +---------------- 1 files changed, 1 insertions(+), 16 deletions(-) diff --git a/kernel/arch/ia64/kernel/dma-mapping.c b/kernel/arch/ia64/kernel/dma-mapping.c index 7a471d8..cd0c166 100644 --- a/kernel/arch/ia64/kernel/dma-mapping.c +++ b/kernel/arch/ia64/kernel/dma-mapping.c @@ -1,6 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 -#include <linux/dma-mapping.h> -#include <linux/swiotlb.h> +#include <linux/dma-map-ops.h> #include <linux/export.h> /* Set this to 1 if there is a HW IOMMU in the system */ @@ -8,17 +7,3 @@ const struct dma_map_ops *dma_ops; EXPORT_SYMBOL(dma_ops); - -const struct dma_map_ops *dma_get_ops(struct device *dev) -{ - return dma_ops; -} -EXPORT_SYMBOL(dma_get_ops); - -#ifdef CONFIG_SWIOTLB -void __init swiotlb_dma_init(void) -{ - dma_ops = &swiotlb_dma_ops; - swiotlb_init(1); -} -#endif -- Gitblit v1.6.2