diff options
-rw-r--r-- | arch/blackfin/kernel/bfin_dma_5xx.c | 12 | ||||
-rw-r--r-- | include/asm-blackfin/io.h | 24 |
2 files changed, 18 insertions, 18 deletions
diff --git a/arch/blackfin/kernel/bfin_dma_5xx.c b/arch/blackfin/kernel/bfin_dma_5xx.c index 858cca6a2afc..17edd6599959 100644 --- a/arch/blackfin/kernel/bfin_dma_5xx.c +++ b/arch/blackfin/kernel/bfin_dma_5xx.c | |||
@@ -583,7 +583,7 @@ void *safe_dma_memcpy(void *dest, const void *src, size_t size) | |||
583 | } | 583 | } |
584 | EXPORT_SYMBOL(safe_dma_memcpy); | 584 | EXPORT_SYMBOL(safe_dma_memcpy); |
585 | 585 | ||
586 | void dma_outsb(const void __iomem *addr, const void *buf, unsigned short len) | 586 | void dma_outsb(unsigned long addr, const void *buf, unsigned short len) |
587 | { | 587 | { |
588 | unsigned long flags; | 588 | unsigned long flags; |
589 | 589 | ||
@@ -616,7 +616,7 @@ void dma_outsb(const void __iomem *addr, const void *buf, unsigned short len) | |||
616 | EXPORT_SYMBOL(dma_outsb); | 616 | EXPORT_SYMBOL(dma_outsb); |
617 | 617 | ||
618 | 618 | ||
619 | void dma_insb(const void __iomem *addr, void *buf, unsigned short len) | 619 | void dma_insb(unsigned long addr, void *buf, unsigned short len) |
620 | { | 620 | { |
621 | unsigned long flags; | 621 | unsigned long flags; |
622 | 622 | ||
@@ -647,7 +647,7 @@ void dma_insb(const void __iomem *addr, void *buf, unsigned short len) | |||
647 | } | 647 | } |
648 | EXPORT_SYMBOL(dma_insb); | 648 | EXPORT_SYMBOL(dma_insb); |
649 | 649 | ||
650 | void dma_outsw(const void __iomem *addr, const void *buf, unsigned short len) | 650 | void dma_outsw(unsigned long addr, const void *buf, unsigned short len) |
651 | { | 651 | { |
652 | unsigned long flags; | 652 | unsigned long flags; |
653 | 653 | ||
@@ -679,7 +679,7 @@ void dma_outsw(const void __iomem *addr, const void *buf, unsigned short len) | |||
679 | } | 679 | } |
680 | EXPORT_SYMBOL(dma_outsw); | 680 | EXPORT_SYMBOL(dma_outsw); |
681 | 681 | ||
682 | void dma_insw(const void __iomem *addr, void *buf, unsigned short len) | 682 | void dma_insw(unsigned long addr, void *buf, unsigned short len) |
683 | { | 683 | { |
684 | unsigned long flags; | 684 | unsigned long flags; |
685 | 685 | ||
@@ -711,7 +711,7 @@ void dma_insw(const void __iomem *addr, void *buf, unsigned short len) | |||
711 | } | 711 | } |
712 | EXPORT_SYMBOL(dma_insw); | 712 | EXPORT_SYMBOL(dma_insw); |
713 | 713 | ||
714 | void dma_outsl(const void __iomem *addr, const void *buf, unsigned short len) | 714 | void dma_outsl(unsigned long addr, const void *buf, unsigned short len) |
715 | { | 715 | { |
716 | unsigned long flags; | 716 | unsigned long flags; |
717 | 717 | ||
@@ -743,7 +743,7 @@ void dma_outsl(const void __iomem *addr, const void *buf, unsigned short len) | |||
743 | } | 743 | } |
744 | EXPORT_SYMBOL(dma_outsl); | 744 | EXPORT_SYMBOL(dma_outsl); |
745 | 745 | ||
746 | void dma_insl(const void __iomem *addr, void *buf, unsigned short len) | 746 | void dma_insl(unsigned long addr, void *buf, unsigned short len) |
747 | { | 747 | { |
748 | unsigned long flags; | 748 | unsigned long flags; |
749 | 749 | ||
diff --git a/include/asm-blackfin/io.h b/include/asm-blackfin/io.h index 3f48f8feb5c9..525179bf43d7 100644 --- a/include/asm-blackfin/io.h +++ b/include/asm-blackfin/io.h | |||
@@ -115,21 +115,21 @@ static inline unsigned int readl(const volatile void __iomem *addr) | |||
115 | 115 | ||
116 | #ifndef __ASSEMBLY__ | 116 | #ifndef __ASSEMBLY__ |
117 | 117 | ||
118 | extern void outsb(const void __iomem *port, const void *addr, unsigned short count); | 118 | extern void outsb(unsigned long port, const void *addr, unsigned long count); |
119 | extern void outsw(const void __iomem *port, const void *addr, unsigned short count); | 119 | extern void outsw(unsigned long port, const void *addr, unsigned long count); |
120 | extern void outsl(const void __iomem *port, const void *addr, unsigned short count); | 120 | extern void outsl(unsigned long port, const void *addr, unsigned long count); |
121 | 121 | ||
122 | extern void insb(const void __iomem *port, void *addr, unsigned short count); | 122 | extern void insb(unsigned long port, void *addr, unsigned long count); |
123 | extern void insw(const void __iomem *port, void *addr, unsigned short count); | 123 | extern void insw(unsigned long port, void *addr, unsigned long count); |
124 | extern void insl(const void __iomem *port, void *addr, unsigned short count); | 124 | extern void insl(unsigned long port, void *addr, unsigned long count); |
125 | 125 | ||
126 | extern void dma_outsb(const void __iomem *port, const void *addr, unsigned short count); | 126 | extern void dma_outsb(unsigned long port, const void *addr, unsigned short count); |
127 | extern void dma_outsw(const void __iomem *port, const void *addr, unsigned short count); | 127 | extern void dma_outsw(unsigned long port, const void *addr, unsigned short count); |
128 | extern void dma_outsl(const void __iomem *port, const void *addr, unsigned short count); | 128 | extern void dma_outsl(unsigned long port, const void *addr, unsigned short count); |
129 | 129 | ||
130 | extern void dma_insb(const void __iomem *port, void *addr, unsigned short count); | 130 | extern void dma_insb(unsigned long port, void *addr, unsigned short count); |
131 | extern void dma_insw(const void __iomem *port, void *addr, unsigned short count); | 131 | extern void dma_insw(unsigned long port, void *addr, unsigned short count); |
132 | extern void dma_insl(const void __iomem *port, void *addr, unsigned short count); | 132 | extern void dma_insl(unsigned long port, void *addr, unsigned short count); |
133 | 133 | ||
134 | /* | 134 | /* |
135 | * Map some physical address range into the kernel address space. | 135 | * Map some physical address range into the kernel address space. |