summaryrefslogtreecommitdiff
path: root/drivers/usb/musb/cppi_dma.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2009-04-23 15:44:20 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2009-04-23 15:44:20 +1000
commit2b091056fc8511646a754a6be374edff575974c4 (patch)
treeece0e30e509214ab7b783ad619f63efead1051b6 /drivers/usb/musb/cppi_dma.h
parente8781767a055db22189bc9240afbadf08fb0f156 (diff)
parent065a881f59eb9efc665b84e1ccdaaea85b83231b (diff)
Merge branch 'quilt/usb'
Diffstat (limited to 'drivers/usb/musb/cppi_dma.h')
-rw-r--r--drivers/usb/musb/cppi_dma.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/usb/musb/cppi_dma.h b/drivers/usb/musb/cppi_dma.h
index 729b4071787b..8a39de3e6e47 100644
--- a/drivers/usb/musb/cppi_dma.h
+++ b/drivers/usb/musb/cppi_dma.h
@@ -119,6 +119,8 @@ struct cppi {
void __iomem *mregs; /* Mentor regs */
void __iomem *tibase; /* TI/CPPI regs */
+ int irq;
+
struct cppi_channel tx[4];
struct cppi_channel rx[4];
@@ -127,7 +129,7 @@ struct cppi {
struct list_head tx_complete;
};
-/* irq handling hook */
-extern void cppi_completion(struct musb *, u32 rx, u32 tx);
+/* CPPI IRQ handler */
+extern irqreturn_t cppi_interrupt(int, void *);
#endif /* end of ifndef _CPPI_DMA_H_ */