summaryrefslogtreecommitdiffstats
path: root/include/linux/serial_sci.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2011-01-19 15:37:31 +0900
committerPaul Mundt <lethal@linux-sh.org>2011-01-19 15:37:31 +0900
commit27bd107525607e6a64c612ca3c43ca0dac4768b1 (patch)
treef508fa9c1ed15fe840de3f41e39887dc98944e07 /include/linux/serial_sci.h
parentce6738b60d94bb317bc568ef7b81a227b2928bd4 (diff)
downloadlinux-27bd107525607e6a64c612ca3c43ca0dac4768b1.tar.gz
linux-27bd107525607e6a64c612ca3c43ca0dac4768b1.tar.bz2
linux-27bd107525607e6a64c612ca3c43ca0dac4768b1.zip
serial: sh-sci: Kill off some DMA ifdeffery.
There's nothing worth hiding under the ifdef in the platform DMA definitions, and we certainly don't want board code adding this in to their platform data definitions, so we always expose the slave rx/tx and device pointer members instead. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/linux/serial_sci.h')
-rw-r--r--include/linux/serial_sci.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/serial_sci.h b/include/linux/serial_sci.h
index 01ffe7c56e5b..a2afc9fbe186 100644
--- a/include/linux/serial_sci.h
+++ b/include/linux/serial_sci.h
@@ -58,10 +58,8 @@ struct plat_sci_port {
struct device *dma_dev;
-#ifdef CONFIG_SERIAL_SH_SCI_DMA
- unsigned int dma_slave_tx;
- unsigned int dma_slave_rx;
-#endif
+ unsigned int dma_slave_tx;
+ unsigned int dma_slave_rx;
};
#endif /* __LINUX_SERIAL_SCI_H */