Skip to content
  • Magnus Damm's avatar
    dmaengine: shdma: Introduce include/linux/sh_dma.h · b2623a61
    Magnus Damm authored
    
    
    Create a common platform data header file for the
    shdma dmaengine driver. This is done by moving
    common structures from sh asm/dmaengine.h to
    linux/sh_dma.h. DMA registers are also copied from
    sh asm/dma-register.h to make the code architecture
    independent.
    
    The sh header file asm/dmaengine.h is still kept
    with the slave id enum. This allows us to keep the
    old processor specific code as is and slowly move
    over to slave id enums in per-processor headers.
    
    Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    b2623a61