summaryrefslogtreecommitdiffstats
path: root/include/linux/serial_sci.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-03-19 04:46:38 +0000
committerPaul Mundt <lethal@linux-sh.org>2010-03-23 17:19:30 +0900
commit4bab9d426e6dbd9ea09330919a33d35d5faab400 (patch)
treecb78032733f4a45e8b36719b70854cc567b56b55 /include/linux/serial_sci.h
parentae6be51ed01d6c4aaf249a207b4434bc7785853b (diff)
downloadblackbird-op-linux-4bab9d426e6dbd9ea09330919a33d35d5faab400.tar.gz
blackbird-op-linux-4bab9d426e6dbd9ea09330919a33d35d5faab400.zip
dmaengine: shdma: Remove sh_dmae_slave_chan_id enum
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>
Diffstat (limited to 'include/linux/serial_sci.h')
-rw-r--r--include/linux/serial_sci.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/serial_sci.h b/include/linux/serial_sci.h
index 193d4bfe42ff..f5364a1de68b 100644
--- a/include/linux/serial_sci.h
+++ b/include/linux/serial_sci.h
@@ -33,8 +33,8 @@ struct plat_sci_port {
char *clk; /* clock string */
struct device *dma_dev;
#ifdef CONFIG_SERIAL_SH_SCI_DMA
- enum sh_dmae_slave_chan_id dma_slave_tx;
- enum sh_dmae_slave_chan_id dma_slave_rx;
+ unsigned int dma_slave_tx;
+ unsigned int dma_slave_rx;
#endif
};
OpenPOWER on IntegriCloud