diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2013-08-02 16:50:39 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-08-27 14:26:21 +0530 |
commit | 1e69653d40f1a280dbfef48b0c62473ac415dd57 (patch) | |
tree | de6a43d2dbe37ac5475716377679051f8f389bc9 /drivers/dma/sh/shdma.h | |
parent | 8eb742a0914cd79053d092a14bfac5315993dd61 (diff) |
DMA: shdma: add r8a73a4 DMAC data to the device ID table
This configuration data will be used, when DMAC DT support is added to
r8a73a4.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/sh/shdma.h')
-rw-r--r-- | drivers/dma/sh/shdma.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/dma/sh/shdma.h b/drivers/dma/sh/shdma.h index ff2f93b612ca..758a57b51875 100644 --- a/drivers/dma/sh/shdma.h +++ b/drivers/dma/sh/shdma.h @@ -62,4 +62,11 @@ struct sh_dmae_desc { #define to_sh_dev(chan) container_of(chan->shdma_chan.dma_chan.device,\ struct sh_dmae_device, shdma_dev.dma_dev) +#ifdef CONFIG_SHDMA_R8A73A4 +extern const struct sh_dmae_pdata r8a73a4_dma_pdata; +#define r8a73a4_shdma_devid (&r8a73a4_dma_pdata) +#else +#define r8a73a4_shdma_devid NULL +#endif + #endif /* __DMA_SHDMA_H */ |