projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e4dbdc
)
MIPS: Octeon: unexport __phys_to_dma and __dma_to_phys
author
Christoph Hellwig
<
[email protected]
>
Fri, 15 Jun 2018 11:08:33 +0000
(13:08 +0200)
committer
Paul Burton
<
[email protected]
>
Sun, 24 Jun 2018 16:26:02 +0000
(09:26 -0700)
These functions are just low-level helpers for the swiotlb and dma-direct
implementations, and should never be used by drivers.
Signed-off-by: Christoph Hellwig <
[email protected]
>
Reviewed-by: Paul Burton <
[email protected]
>
Patchwork: https://patchwork.linux-mips.org/patch/19531/
Signed-off-by: Paul Burton <
[email protected]
>
Cc: Florian Fainelli <
[email protected]
>
Cc: David Daney <
[email protected]
>
Cc: Kevin Cernekee <
[email protected]
>
Cc: Jiaxun Yang <
[email protected]
>
Cc: Tom Bogendoerfer <
[email protected]
>
Cc: Huacai Chen <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
arch/mips/cavium-octeon/dma-octeon.c
patch
|
blob
|
history
diff --git
a/arch/mips/cavium-octeon/dma-octeon.c
b/arch/mips/cavium-octeon/dma-octeon.c
index 7b335ab2169748abd280b3ae9eed9312ac4edb73..e5d00c79bd268556bc99c827eac40c2ecabcccbb 100644
(file)
--- a/
arch/mips/cavium-octeon/dma-octeon.c
+++ b/
arch/mips/cavium-octeon/dma-octeon.c
@@
-13,7
+13,6
@@
#include <linux/dma-direct.h>
#include <linux/scatterlist.h>
#include <linux/bootmem.h>
-#include <linux/export.h>
#include <linux/swiotlb.h>
#include <linux/types.h>
#include <linux/init.h>
@@
-190,7
+189,6
@@
dma_addr_t __phys_to_dma(struct device *dev, phys_addr_t paddr)
return ops->phys_to_dma(dev, paddr);
}
-EXPORT_SYMBOL(__phys_to_dma);
phys_addr_t __dma_to_phys(struct device *dev, dma_addr_t daddr)
{
@@
-200,7
+198,6
@@
phys_addr_t __dma_to_phys(struct device *dev, dma_addr_t daddr)
return ops->dma_to_phys(dev, daddr);
}
-EXPORT_SYMBOL(__dma_to_phys);
static struct octeon_dma_map_ops octeon_linear_dma_map_ops = {
.dma_map_ops = {