forked from Minki/linux
4bab9d426e
This patch replaces the sh_dmae_slave_chan_id enum with an unsigned int. The purpose of this chainge is to make it possible to separate the slave id enums from the dmaengine header. The slave id enums varies with processor model, so in the future it makes sense to put these in the processor specific headers together with the pinmux enums. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
27 lines
592 B
C
27 lines
592 B
C
/*
|
|
* platform header for the SIU ASoC driver
|
|
*
|
|
* Copyright (C) 2009-2010 Guennadi Liakhovetski <g.liakhovetski@gmx.de>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef ASM_SIU_H
|
|
#define ASM_SIU_H
|
|
|
|
#include <asm/dmaengine.h>
|
|
|
|
struct device;
|
|
|
|
struct siu_platform {
|
|
struct device *dma_dev;
|
|
unsigned int dma_slave_tx_a;
|
|
unsigned int dma_slave_rx_a;
|
|
unsigned int dma_slave_tx_b;
|
|
unsigned int dma_slave_rx_b;
|
|
};
|
|
|
|
#endif /* ASM_SIU_H */
|