hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/powerpc/include/asm/swiotlb.h
....@@ -1,11 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2009 Becky Bruce, Freescale Semiconductor
3
- *
4
- * This program is free software; you can redistribute it and/or modify it
5
- * under the terms of the GNU General Public License as published by the
6
- * Free Software Foundation; either version 2 of the License, or (at your
7
- * option) any later version.
8
- *
94 */
105
116 #ifndef __ASM_SWIOTLB_H
....@@ -13,12 +8,7 @@
138
149 #include <linux/swiotlb.h>
1510
16
-extern const struct dma_map_ops powerpc_swiotlb_dma_ops;
17
-
1811 extern unsigned int ppc_swiotlb_enable;
19
-int __init swiotlb_setup_bus_notifier(void);
20
-
21
-extern void pci_dma_dev_setup_swiotlb(struct pci_dev *pdev);
2212
2313 #ifdef CONFIG_SWIOTLB
2414 void swiotlb_detect_4g(void);