提交 fb282a72 编写于 作者: B Bryan Wu

Blackfin arch: cleanup IO and DMA_IO API function definitions according to other arches

Signed-off-by: NBryan Wu <bryan.wu@analog.com>
上级 b5c0e2e8
...@@ -583,7 +583,7 @@ void *safe_dma_memcpy(void *dest, const void *src, size_t size) ...@@ -583,7 +583,7 @@ void *safe_dma_memcpy(void *dest, const void *src, size_t size)
} }
EXPORT_SYMBOL(safe_dma_memcpy); EXPORT_SYMBOL(safe_dma_memcpy);
void dma_outsb(void __iomem *addr, const void *buf, unsigned short len) void dma_outsb(const void __iomem *addr, const void *buf, unsigned short len)
{ {
unsigned long flags; unsigned long flags;
...@@ -647,7 +647,7 @@ void dma_insb(const void __iomem *addr, void *buf, unsigned short len) ...@@ -647,7 +647,7 @@ void dma_insb(const void __iomem *addr, void *buf, unsigned short len)
} }
EXPORT_SYMBOL(dma_insb); EXPORT_SYMBOL(dma_insb);
void dma_outsw(void __iomem *addr, const void *buf, unsigned short len) void dma_outsw(const void __iomem *addr, const void *buf, unsigned short len)
{ {
unsigned long flags; unsigned long flags;
...@@ -711,7 +711,7 @@ void dma_insw(const void __iomem *addr, void *buf, unsigned short len) ...@@ -711,7 +711,7 @@ void dma_insw(const void __iomem *addr, void *buf, unsigned short len)
} }
EXPORT_SYMBOL(dma_insw); EXPORT_SYMBOL(dma_insw);
void dma_outsl(void __iomem *addr, const void *buf, unsigned short len) void dma_outsl(const void __iomem *addr, const void *buf, unsigned short len)
{ {
unsigned long flags; unsigned long flags;
......
...@@ -115,17 +115,17 @@ static inline unsigned int readl(const volatile void __iomem *addr) ...@@ -115,17 +115,17 @@ static inline unsigned int readl(const volatile void __iomem *addr)
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
extern void outsb(void __iomem *port, const void *addr, unsigned short count); extern void outsb(const void __iomem *port, const void *addr, unsigned short count);
extern void outsw(void __iomem *port, const void *addr, unsigned short count); extern void outsw(const void __iomem *port, const void *addr, unsigned short count);
extern void outsl(void __iomem *port, const void *addr, unsigned short count); extern void outsl(const void __iomem *port, const void *addr, unsigned short count);
extern void insb(const void __iomem *port, void *addr, unsigned short count); extern void insb(const void __iomem *port, void *addr, unsigned short count);
extern void insw(const void __iomem *port, void *addr, unsigned short count); extern void insw(const void __iomem *port, void *addr, unsigned short count);
extern void insl(const void __iomem *port, void *addr, unsigned short count); extern void insl(const void __iomem *port, void *addr, unsigned short count);
extern void dma_outsb(void __iomem *port, const void *addr, unsigned short count); extern void dma_outsb(const void __iomem *port, const void *addr, unsigned short count);
extern void dma_outsw(void __iomem *port, const void *addr, unsigned short count); extern void dma_outsw(const void __iomem *port, const void *addr, unsigned short count);
extern void dma_outsl(void __iomem *port, const void *addr, unsigned short count); extern void dma_outsl(const void __iomem *port, const void *addr, unsigned short count);
extern void dma_insb(const void __iomem *port, void *addr, unsigned short count); extern void dma_insb(const void __iomem *port, void *addr, unsigned short count);
extern void dma_insw(const void __iomem *port, void *addr, unsigned short count); extern void dma_insw(const void __iomem *port, void *addr, unsigned short count);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册