Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16744
b: refs/heads/master
c: 6842b92
h: refs/heads/master
v: v3
  • Loading branch information
Russell King authored and Russell King committed Jan 4, 2006
1 parent 7ef5083 commit c18f267
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7cdad482974792419cfe4b0affca689170116f49
refs/heads/master: 6842b9299272a9471a7e94e046b953f6ffe3db9d
6 changes: 4 additions & 2 deletions trunk/arch/arm/kernel/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,14 @@ int get_dma_residue(dmach_t channel)
return ret;
}

void __init init_dma(void)
static int __init init_dma(void)
{
arch_dma_init(dma_chan);
return 0;
}

core_initcall(init_dma);

#else

int request_dma(dmach_t channel, const char *device_id)
Expand All @@ -276,7 +279,6 @@ GLOBAL_ALIAS(set_dma_count, get_dma_residue);
GLOBAL_ALIAS(__set_dma_addr, get_dma_residue);
GLOBAL_ALIAS(set_dma_sg, get_dma_residue);
GLOBAL_ALIAS(set_dma_speed, get_dma_residue);
GLOBAL_ALIAS(init_dma, get_dma_residue);

#endif

Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,6 @@ void __init init_irq_proc(void)
void __init init_IRQ(void)
{
struct irqdesc *desc;
extern void init_dma(void);
int irq;

#ifdef CONFIG_SMP
Expand All @@ -1041,7 +1040,6 @@ void __init init_IRQ(void)
}

init_arch_irq();
init_dma();
}

static int __init noirqdebug_setup(char *str)
Expand Down

0 comments on commit c18f267

Please sign in to comment.