Skip to content

Commit

Permalink
[Blackfin] arch: Consistently export base_addr for all Blackfin varia…
Browse files Browse the repository at this point in the history
…nts.

Signed-off-by: Bernd Schmidt <bernds_cb1@t-online.de>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
  • Loading branch information
Bernd Schmidt authored and Bryan Wu committed Apr 23, 2008
1 parent 37fa242 commit ac86a97
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions arch/blackfin/mach-bf527/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
* to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <linux/module.h>

#include <asm/blackfin.h>
#include <asm/dma.h>

Expand All @@ -47,6 +49,7 @@ struct dma_register *base_addr[MAX_BLACKFIN_DMA_CHANNEL] = {
(struct dma_register *) MDMA_D1_NEXT_DESC_PTR,
(struct dma_register *) MDMA_S1_NEXT_DESC_PTR,
};
EXPORT_SYMBOL(base_addr);

int channel2irq(unsigned int channel)
{
Expand Down
3 changes: 3 additions & 0 deletions arch/blackfin/mach-bf533/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
* to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <linux/module.h>

#include <asm/blackfin.h>
#include <asm/dma.h>

Expand All @@ -43,6 +45,7 @@ struct dma_register *base_addr[MAX_BLACKFIN_DMA_CHANNEL] = {
(struct dma_register *) MDMA_D1_NEXT_DESC_PTR,
(struct dma_register *) MDMA_S1_NEXT_DESC_PTR,
};
EXPORT_SYMBOL(base_addr);

int channel2irq(unsigned int channel)
{
Expand Down
3 changes: 3 additions & 0 deletions arch/blackfin/mach-bf537/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
* to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <linux/module.h>

#include <asm/blackfin.h>
#include <asm/dma.h>

Expand All @@ -47,6 +49,7 @@ struct dma_register *base_addr[MAX_BLACKFIN_DMA_CHANNEL] = {
(struct dma_register *) MDMA_D1_NEXT_DESC_PTR,
(struct dma_register *) MDMA_S1_NEXT_DESC_PTR,
};
EXPORT_SYMBOL(base_addr);

int channel2irq(unsigned int channel)
{
Expand Down
2 changes: 1 addition & 1 deletion arch/blackfin/mach-bf548/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include <asm/blackfin.h>
#include <asm/dma.h>

struct dma_register *base_addr[MAX_BLACKFIN_DMA_CHANNEL] = {
struct dma_register *base_addr[MAX_BLACKFIN_DMA_CHANNEL] = {
(struct dma_register *) DMA0_NEXT_DESC_PTR,
(struct dma_register *) DMA1_NEXT_DESC_PTR,
(struct dma_register *) DMA2_NEXT_DESC_PTR,
Expand Down
3 changes: 3 additions & 0 deletions arch/blackfin/mach-bf561/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
* to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <linux/module.h>

#include <asm/blackfin.h>
#include <asm/dma.h>

Expand Down Expand Up @@ -67,6 +69,7 @@ struct dma_register *base_addr[MAX_BLACKFIN_DMA_CHANNEL] = {
(struct dma_register *) IMDMA_D1_NEXT_DESC_PTR,
(struct dma_register *) IMDMA_S1_NEXT_DESC_PTR,
};
EXPORT_SYMBOL(base_addr);

int channel2irq(unsigned int channel)
{
Expand Down

0 comments on commit ac86a97

Please sign in to comment.