diff options
-rw-r--r-- | arch/blackfin/mach-bf527/dma.c | 3 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/dma.c | 3 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/dma.c | 3 | ||||
-rw-r--r-- | arch/blackfin/mach-bf548/dma.c | 2 | ||||
-rw-r--r-- | arch/blackfin/mach-bf561/dma.c | 3 |
5 files changed, 13 insertions, 1 deletions
diff --git a/arch/blackfin/mach-bf527/dma.c b/arch/blackfin/mach-bf527/dma.c index 522de24cc394..0a82b154c082 100644 --- a/arch/blackfin/mach-bf527/dma.c +++ b/arch/blackfin/mach-bf527/dma.c | |||
@@ -26,6 +26,8 @@ | |||
26 | * to the Free Software Foundation, Inc., | 26 | * to the Free Software Foundation, Inc., |
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
28 | */ | 28 | */ |
29 | #include <linux/module.h> | ||
30 | |||
29 | #include <asm/blackfin.h> | 31 | #include <asm/blackfin.h> |
30 | #include <asm/dma.h> | 32 | #include <asm/dma.h> |
31 | 33 | ||
@@ -47,6 +49,7 @@ struct dma_register *base_addr[MAX_BLACKFIN_DMA_CHANNEL] = { | |||
47 | (struct dma_register *) MDMA_D1_NEXT_DESC_PTR, | 49 | (struct dma_register *) MDMA_D1_NEXT_DESC_PTR, |
48 | (struct dma_register *) MDMA_S1_NEXT_DESC_PTR, | 50 | (struct dma_register *) MDMA_S1_NEXT_DESC_PTR, |
49 | }; | 51 | }; |
52 | EXPORT_SYMBOL(base_addr); | ||
50 | 53 | ||
51 | int channel2irq(unsigned int channel) | 54 | int channel2irq(unsigned int channel) |
52 | { | 55 | { |
diff --git a/arch/blackfin/mach-bf533/dma.c b/arch/blackfin/mach-bf533/dma.c index 6c909cf4f7bf..8d80efce396e 100644 --- a/arch/blackfin/mach-bf533/dma.c +++ b/arch/blackfin/mach-bf533/dma.c | |||
@@ -26,6 +26,8 @@ | |||
26 | * to the Free Software Foundation, Inc., | 26 | * to the Free Software Foundation, Inc., |
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
28 | */ | 28 | */ |
29 | #include <linux/module.h> | ||
30 | |||
29 | #include <asm/blackfin.h> | 31 | #include <asm/blackfin.h> |
30 | #include <asm/dma.h> | 32 | #include <asm/dma.h> |
31 | 33 | ||
@@ -43,6 +45,7 @@ struct dma_register *base_addr[MAX_BLACKFIN_DMA_CHANNEL] = { | |||
43 | (struct dma_register *) MDMA_D1_NEXT_DESC_PTR, | 45 | (struct dma_register *) MDMA_D1_NEXT_DESC_PTR, |
44 | (struct dma_register *) MDMA_S1_NEXT_DESC_PTR, | 46 | (struct dma_register *) MDMA_S1_NEXT_DESC_PTR, |
45 | }; | 47 | }; |
48 | EXPORT_SYMBOL(base_addr); | ||
46 | 49 | ||
47 | int channel2irq(unsigned int channel) | 50 | int channel2irq(unsigned int channel) |
48 | { | 51 | { |
diff --git a/arch/blackfin/mach-bf537/dma.c b/arch/blackfin/mach-bf537/dma.c index 706cb97b0265..992b19f400e7 100644 --- a/arch/blackfin/mach-bf537/dma.c +++ b/arch/blackfin/mach-bf537/dma.c | |||
@@ -26,6 +26,8 @@ | |||
26 | * to the Free Software Foundation, Inc., | 26 | * to the Free Software Foundation, Inc., |
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
28 | */ | 28 | */ |
29 | #include <linux/module.h> | ||
30 | |||
29 | #include <asm/blackfin.h> | 31 | #include <asm/blackfin.h> |
30 | #include <asm/dma.h> | 32 | #include <asm/dma.h> |
31 | 33 | ||
@@ -47,6 +49,7 @@ struct dma_register *base_addr[MAX_BLACKFIN_DMA_CHANNEL] = { | |||
47 | (struct dma_register *) MDMA_D1_NEXT_DESC_PTR, | 49 | (struct dma_register *) MDMA_D1_NEXT_DESC_PTR, |
48 | (struct dma_register *) MDMA_S1_NEXT_DESC_PTR, | 50 | (struct dma_register *) MDMA_S1_NEXT_DESC_PTR, |
49 | }; | 51 | }; |
52 | EXPORT_SYMBOL(base_addr); | ||
50 | 53 | ||
51 | int channel2irq(unsigned int channel) | 54 | int channel2irq(unsigned int channel) |
52 | { | 55 | { |
diff --git a/arch/blackfin/mach-bf548/dma.c b/arch/blackfin/mach-bf548/dma.c index f5479298bb79..e78a88331495 100644 --- a/arch/blackfin/mach-bf548/dma.c +++ b/arch/blackfin/mach-bf548/dma.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <asm/blackfin.h> | 32 | #include <asm/blackfin.h> |
33 | #include <asm/dma.h> | 33 | #include <asm/dma.h> |
34 | 34 | ||
35 | struct dma_register *base_addr[MAX_BLACKFIN_DMA_CHANNEL] = { | 35 | struct dma_register *base_addr[MAX_BLACKFIN_DMA_CHANNEL] = { |
36 | (struct dma_register *) DMA0_NEXT_DESC_PTR, | 36 | (struct dma_register *) DMA0_NEXT_DESC_PTR, |
37 | (struct dma_register *) DMA1_NEXT_DESC_PTR, | 37 | (struct dma_register *) DMA1_NEXT_DESC_PTR, |
38 | (struct dma_register *) DMA2_NEXT_DESC_PTR, | 38 | (struct dma_register *) DMA2_NEXT_DESC_PTR, |
diff --git a/arch/blackfin/mach-bf561/dma.c b/arch/blackfin/mach-bf561/dma.c index 89c65bb0bed3..9863ae4fb8a4 100644 --- a/arch/blackfin/mach-bf561/dma.c +++ b/arch/blackfin/mach-bf561/dma.c | |||
@@ -26,6 +26,8 @@ | |||
26 | * to the Free Software Foundation, Inc., | 26 | * to the Free Software Foundation, Inc., |
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
28 | */ | 28 | */ |
29 | #include <linux/module.h> | ||
30 | |||
29 | #include <asm/blackfin.h> | 31 | #include <asm/blackfin.h> |
30 | #include <asm/dma.h> | 32 | #include <asm/dma.h> |
31 | 33 | ||
@@ -67,6 +69,7 @@ struct dma_register *base_addr[MAX_BLACKFIN_DMA_CHANNEL] = { | |||
67 | (struct dma_register *) IMDMA_D1_NEXT_DESC_PTR, | 69 | (struct dma_register *) IMDMA_D1_NEXT_DESC_PTR, |
68 | (struct dma_register *) IMDMA_S1_NEXT_DESC_PTR, | 70 | (struct dma_register *) IMDMA_S1_NEXT_DESC_PTR, |
69 | }; | 71 | }; |
72 | EXPORT_SYMBOL(base_addr); | ||
70 | 73 | ||
71 | int channel2irq(unsigned int channel) | 74 | int channel2irq(unsigned int channel) |
72 | { | 75 | { |