diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-01-17 14:57:26 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-01-25 09:21:39 +0300 |
commit | 08d62f58aa2587132a930afbe8664379b430e2dd (patch) | |
tree | 809307cbc91f239274be510b69e4300155fc06e2 /include/linux/dma | |
parent | a46a7634017ae5da1adf352c5bd0c66a772f20b5 (diff) | |
download | linux-08d62f58aa2587132a930afbe8664379b430e2dd.tar.xz |
dmaengine: dw: register IRQ and DMA pool with instance ID
It is really useful not only for debugging to have an IRQ line and DMA
pool labeled with driver and its instance ID. Do this for DesignWare DMA
driver.
All current users of this IP would be enhanced later on.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include/linux/dma')
-rw-r--r-- | include/linux/dma/dw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/dma/dw.h b/include/linux/dma/dw.h index ccfd0c3777df..b63b25814d77 100644 --- a/include/linux/dma/dw.h +++ b/include/linux/dma/dw.h @@ -23,6 +23,7 @@ struct dw_dma; /** * struct dw_dma_chip - representation of DesignWare DMA controller hardware * @dev: struct device of the DMA controller + * @id: instance ID * @irq: irq line * @regs: memory mapped I/O space * @clk: hclk clock @@ -31,6 +32,7 @@ struct dw_dma; */ struct dw_dma_chip { struct device *dev; + int id; int irq; void __iomem *regs; struct clk *clk; |