aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
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
parentce6738b60d94bb317bc568ef7b81a227b2928bd4 (diff)
downloadkernel_samsung_smdk4412-27bd107525607e6a64c612ca3c43ca0dac4768b1.zip
kernel_samsung_smdk4412-27bd107525607e6a64c612ca3c43ca0dac4768b1.tar.gz
kernel_samsung_smdk4412-27bd107525607e6a64c612ca3c43ca0dac4768b1.tar.bz2
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')
-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 01ffe7c..a2afc9f 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 */