Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137186
b: refs/heads/master
c: fef1f99
h: refs/heads/master
v: v3
  • Loading branch information
Eric Miao committed Mar 9, 2009
1 parent 6d015bf commit db618e5
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 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: 51c62982a33d9086fd8876293411d28a5f97247a
refs/heads/master: fef1f99a0c2928893c074bf3eff27efd36a4532a
4 changes: 2 additions & 2 deletions trunk/arch/arm/mach-pxa/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ static irqreturn_t dma_irq_handler(int irq, void *dev_id)
return IRQ_HANDLED;
}

int __init pxa_init_dma(int num_ch)
int __init pxa_init_dma(int irq, int num_ch)
{
int i, ret;

Expand All @@ -131,7 +131,7 @@ int __init pxa_init_dma(int num_ch)
dma_channels[i].prio = min((i & 0xf) >> 2, DMA_PRIO_LOW);
}

ret = request_irq(IRQ_DMA, dma_irq_handler, IRQF_DISABLED, "DMA", NULL);
ret = request_irq(irq, dma_irq_handler, IRQF_DISABLED, "DMA", NULL);
if (ret) {
printk (KERN_CRIT "Wow! Can't register IRQ for DMA\n");
kfree(dma_channels);
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-pxa/include/mach/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ typedef enum {
* DMA registration
*/

int __init pxa_init_dma(int num_ch);
int __init pxa_init_dma(int irq, int num_ch);

int pxa_request_dma (char *name,
pxa_dma_prio prio,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-pxa/pxa25x.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ static int __init pxa25x_init(void)

clks_register(pxa25x_clkregs, ARRAY_SIZE(pxa25x_clkregs));

if ((ret = pxa_init_dma(16)))
if ((ret = pxa_init_dma(IRQ_DMA, 16)))
return ret;

pxa25x_init_pm();
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-pxa/pxa27x.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ static int __init pxa27x_init(void)

clks_register(pxa27x_clkregs, ARRAY_SIZE(pxa27x_clkregs));

if ((ret = pxa_init_dma(32)))
if ((ret = pxa_init_dma(IRQ_DMA, 32)))
return ret;

pxa27x_init_pm();
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-pxa/pxa3xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ static int __init pxa3xx_init(void)

clks_register(pxa3xx_clkregs, ARRAY_SIZE(pxa3xx_clkregs));

if ((ret = pxa_init_dma(32)))
if ((ret = pxa_init_dma(IRQ_DMA, 32)))
return ret;

pxa3xx_init_pm();
Expand Down

0 comments on commit db618e5

Please sign in to comment.